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
|
// luma.gl, MIT license
|
|
UNCOV
2
|
// Copyright (c) vis.gl contributors
|
× |
UNCOV
3
|
|
× |
UNCOV
4
|
// Recommendation is to ignore message but current test suite checks agains the
|
× |
UNCOV
5
|
// message so keep it for now.
|
× |
UNCOV
6
|
export function assert(condition: unknown, message?: string): void { |
× |
UNCOV
7
|
if (!condition) {
|
× |
UNCOV
8
|
throw new Error(message || 'shadertools: assertion failed.'); |
× |
UNCOV
9
|
} |
× |
UNCOV
10
|
} |
× |