github
1052 of 1431 branches covered (73.52%)
Branch coverage included in aggregate %.
13 of 14 new or added lines in 3 files covered. (92.86%)
24126 existing lines in 274 files now uncovered.30956 of 59925 relevant lines covered (51.66%)
2.22 hits per line
UNCOV
1
|
export default function assert(condition, message = '') { |
|
UNCOV
2
|
if (!condition) {
|
× |
3 |
throw new Error(`JSON conversion error ${message}`); |
× |
4 |
} |
× |
UNCOV
5
|
} |
× |