|
Ran
|
Jobs
1
|
Files
28
|
Run time
2s
|
Badge
README BADGES
|
push
travis-ci
Refactor loop scoping (#65) (#68) * update test cases * Refactor block frames * add test case for constant consts * make const declarations immutable in the environment * update tests for const updating * Add an error message when trying to assign to a const expression * updat block scoping tests to reflect new expected behaviour (see https://github.com/source-academy/js-slang/issues/65#issuecomment-425618227) * Revert "Refactor block frames" This reverts commit eb7e9ae48. * update block scoping tests * statically bind loop variables in the block frame * make function declarations constant * add failing test for empty expressions in for * Throw runtime errors if any of the expressions in a for statement are missing
203 of 424 branches covered (47.88%)
Branch coverage included in aggregate %.
772 of 1230 relevant lines covered (62.76%)
296.54 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 122.1 | 0 |
58.95 |
Travis Job 122.1 |