push
github
2928 of 3183 branches covered (91.99%)
Branch coverage included in aggregate %.
2 of 76 new or added lines in 3 files covered. (2.63%)
16146 of 17731 relevant lines covered (91.06%)
11462.18 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
|
} |
× |