github
13 of 238 branches covered (5.46%)
Branch coverage included in aggregate %.
0 of 472 new or added lines in 41 files covered. (0.0%)
19728 existing lines in 193 files now uncovered.91 of 28170 relevant lines covered (0.32%)
0.02 hits per line
UNCOV
1
|
// Recommendation is to ignore message but current test suite checks agains the
|
|
UNCOV
2
|
// message so keep it for now.
|
× |
UNCOV
3
|
export function assert(condition: unknown, message?: string): void | never { |
× |
UNCOV
4
|
if (!condition) {
|
× |
UNCOV
5
|
throw new Error(message || 'luma.gl: assertion failed.'); |
× |
UNCOV
6
|
} |
× |
UNCOV
7
|
} |
× |