github
648 of 778 branches covered (83.29%)
Branch coverage included in aggregate %.
6 of 6 new or added lines in 1 file covered. (100.0%)
27167 existing lines in 269 files now uncovered.28564 of 60782 relevant lines covered (46.99%)
2.05 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
|
} |
× |