github
4769 of 5426 branches covered (87.89%)
Branch coverage included in aggregate %.
13 of 14 new or added lines in 3 files covered. (92.86%)
6810 existing lines in 148 files now uncovered.47083 of 58727 relevant lines covered (80.17%)
4937.04 hits per line
1 |
// deck.gl
|
1✔ |
2 |
// SPDX-License-Identifier: MIT
|
1✔ |
3 |
// Copyright (c) vis.gl contributors
|
1✔ |
4 |
|
1✔ |
UNCOV
5
|
export default function assert(condition, message = '') { |
|
UNCOV
6
|
if (!condition) {
|
× |
7 |
throw new Error(`JSON conversion error ${message}`); |
× |
8 |
} |
× |
UNCOV
9
|
} |
× |