github
2928 of 3183 branches covered (91.99%)
Branch coverage included in aggregate %.
2 of 48 new or added lines in 3 files covered. (4.17%)
1 existing line in 1 file now uncovered.16147 of 17704 relevant lines covered (91.21%)
11479.66 hits per line
NEW
|
// Shimmed node:path and node:module for browser build
|
|
NEW
|
|
× |
NEW
|
// node:path
|
× |
NEW
|
export function dirname(path: string): string |
× |
NEW
|
path.replace /[^]*\//, '' |
× |
NEW
|
export function resolve(path: string): string |
× |
NEW
|
path |
× |
NEW
|
|
× |
NEW
|
// node:module
|
× |
NEW
|
export function createRequire(path: string): (id: string) => unknown |
× |
NEW
|
(id: string) =>
|
× |
NEW
|
throw new ReferenceError |
× |
NEW
|
"Civet comptime does not support 'require' on this platform"
|
× |
NEW
|
|
× |
NEW
|
export default { |
× |
NEW
|
dirname |
× |
NEW
|
resolve |
× |
NEW
|
createRequire |
× |
NEW
|
} |
× |