Last active
January 16, 2024 19:48
-
-
Save mcknasty/f2902e60b9630f1c4a50c27784831bfa to your computer and use it in GitHub Desktop.
Matrix Builds -- [ TimeStamp: 2024-01-16 14:48:08 552711811 ]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* `npm` `v7.x` is the last version that works on `node` `v13`, `v15`, below `v12.13`, or `v14.0` - `v14.15` | |
changed 16 packages, and audited 259 packages in 7s | |
11 packages are looking for funding | |
run `npm fund` for details | |
20 vulnerabilities (13 moderate, 5 high, 2 critical) | |
To address issues that do not require attention, run: | |
npm audit fix | |
Some issues need review, and may require choosing | |
a different dependency. | |
Run `npm audit` for details. | |
* npm upgraded to: v7.24.2 | |
npm WARN EBADENGINE Unsupported engine { package: '[email protected]', | |
npm WARN EBADENGINE required: { node: '>=12' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
npm WARN EBADENGINE Unsupported engine { package: '[email protected]', | |
npm WARN EBADENGINE required: { node: '>= 12.0.0' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
npm WARN EBADENGINE Unsupported engine { package: '[email protected]', | |
npm WARN EBADENGINE required: { node: '>=12' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
npm WARN EBADENGINE Unsupported engine { package: '[email protected]', | |
npm WARN EBADENGINE required: { node: '>=12' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
npm WARN EBADENGINE Unsupported engine { package: '@cspotcode/[email protected]', | |
npm WARN EBADENGINE required: { node: '>=12' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
npm WARN EBADENGINE Unsupported engine { package: '[email protected]', | |
npm WARN EBADENGINE required: { node: '>=12' }, | |
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.24.2' } } | |
added 379 packages, and audited 380 packages in 21s | |
95 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
/home/tmckeown/codez/github/c8/node_modules/yargs-parser/build/index.cjs:1015 | |
throw Error(`yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`); | |
^ | |
Error: yargs parser supports a minimum Node.js version of 12. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions | |
at Object.<anonymous> (/home/tmckeown/codez/github/c8/node_modules/yargs-parser/build/index.cjs:1015:15) | |
at Module._compile (internal/modules/cjs/loader.js:778:30) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) | |
at Module.load (internal/modules/cjs/loader.js:653:32) | |
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) | |
at Function.Module._load (internal/modules/cjs/loader.js:585:3) | |
at Module.require (internal/modules/cjs/loader.js:692:17) | |
at require (internal/modules/cjs/helpers.js:25:18) | |
at Object.<anonymous> (/home/tmckeown/codez/github/c8/node_modules/yargs/build/index.cjs:1:60570) | |
at Module._compile (internal/modules/cjs/loader.js:778:30) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* `npm` `v8.x` is the last version that works on `node` `v12`, `v14.13` - `v14.16`, or `v16.0` - `v16.12` | |
npm ERR! code ENOTEMPTY | |
npm ERR! syscall rename | |
npm ERR! path /usr/local/lib/node_modules/npm | |
npm ERR! dest /usr/local/lib/node_modules/.npm-i9nnxROI | |
npm ERR! errno -39 | |
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/npm' -> '/usr/local/lib/node_modules/.npm-i9nnxROI' | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/tmckeown/.npm/_logs/2023-07-29T19_14_06_054Z-debug-0.log | |
* npm upgraded to: v8.19.3 | |
added 379 packages, and audited 380 packages in 16s | |
95 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (971ms) | |
✔ supports externally set NODE_V8_COVERAGE (825ms) | |
✔ merges reports from subprocesses together (453ms) | |
✔ allows relative files to be included (890ms) | |
✔ exits with 1 when report output fails (713ms) | |
✔ should allow for files outside of cwd (440ms) | |
✔ should allow for multiple overrides of src location for --all (432ms) | |
✔ cobertura report escapes special characters (388ms) | |
✔ collects coverage for script with shebang (414ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (317ms) | |
✔ exits with 1 if coverage is below threshold (332ms) | |
✔ allows threshold to be applied on per-file basis (504ms) | |
✔ allows --check-coverage when executing script (962ms) | |
✔ --100 (904ms) | |
✔ check-coverage command with --100 (333ms) | |
report | |
✔ generates report from existing temporary files (383ms) | |
✔ supports --check-coverage, when generating reports (492ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (516ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (421ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (394ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (416ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (388ms) | |
TypeScript | |
✔ remaps branches (433ms) | |
✔ remaps classes (445ms) | |
UglifyJS | |
✔ remaps branches (416ms) | |
✔ remaps classes (492ms) | |
nyc | |
✔ remaps branches (451ms) | |
✔ remaps classes (434ms) | |
rollup | |
✔ remaps branches (468ms) | |
✔ remaps classes (498ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (4407ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (923ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (928ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (4605ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (3287ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1655ms) | |
report | |
✔ supports reporting on directories outside cwd (248ms) | |
✔ supports reporting on single directories outside cwd (258ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (421ms) | |
--extension | |
✔ includes coverage when extensions specified (880ms) | |
✔ includes coverage when extensions specified with --all (1164ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (846ms) | |
✔ supports externally set NODE_V8_COVERAGE (789ms) | |
✔ merges reports from subprocesses together (437ms) | |
✔ allows relative files to be included (693ms) | |
✔ exits with 1 when report output fails (1186ms) | |
✔ should allow for files outside of cwd (414ms) | |
✔ should allow for multiple overrides of src location for --all (421ms) | |
✔ cobertura report escapes special characters (381ms) | |
✔ collects coverage for script with shebang (380ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (265ms) | |
✔ exits with 1 if coverage is below threshold (319ms) | |
✔ allows threshold to be applied on per-file basis (383ms) | |
✔ allows --check-coverage when executing script (885ms) | |
✔ --100 (806ms) | |
✔ check-coverage command with --100 (260ms) | |
report | |
✔ generates report from existing temporary files (289ms) | |
✔ supports --check-coverage, when generating reports (336ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (405ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (377ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (351ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (382ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (383ms) | |
TypeScript | |
✔ remaps branches (404ms) | |
✔ remaps classes (497ms) | |
UglifyJS | |
✔ remaps branches (407ms) | |
✔ remaps classes (427ms) | |
nyc | |
✔ remaps branches (423ms) | |
✔ remaps classes (409ms) | |
rollup | |
✔ remaps branches (432ms) | |
✔ remaps classes (441ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (4401ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (798ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (856ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (4367ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (926ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1834ms) | |
report | |
✔ supports reporting on directories outside cwd (230ms) | |
✔ supports reporting on single directories outside cwd (221ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (390ms) | |
--extension | |
✔ includes coverage when extensions specified (856ms) | |
✔ includes coverage when extensions specified with --all (1124ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (56ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
97 passing (1m) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 96.86 | 85.13 | 100 | 96.86 | | |
bin | 90.38 | 88.88 | 100 | 90.38 | | |
c8.js | 90.38 | 88.88 | 100 | 90.38 | 27-29,50-51 | |
lib | 96.84 | 82.9 | 100 | 96.84 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 95.44 | 87.01 | 100 | 95.44 | ...249,332-333,360-361,367-369 | |
source-map-from-file.js | 100 | 80 | 100 | 100 | 61,73,92-95 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 15 packages in 3s | |
16 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.4.2 | |
added 367 packages, and audited 368 packages in 13s | |
89 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (948ms) | |
✔ supports externally set NODE_V8_COVERAGE (829ms) | |
✔ merges reports from subprocesses together (636ms) | |
✔ allows relative files to be included (720ms) | |
✔ exits with 1 when report output fails (629ms) | |
✔ should allow for files outside of cwd (378ms) | |
✔ should allow for multiple overrides of src location for --all (7402ms) | |
✔ cobertura report escapes special characters (2943ms) | |
✔ collects coverage for script with shebang (218ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (166ms) | |
✔ exits with 1 if coverage is below threshold (171ms) | |
✔ allows threshold to be applied on per-file basis (166ms) | |
✔ allows --check-coverage when executing script (732ms) | |
✔ --100 (760ms) | |
✔ check-coverage command with --100 (199ms) | |
report | |
✔ generates report from existing temporary files (193ms) | |
✔ supports --check-coverage, when generating reports (203ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (266ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (321ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (259ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (231ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (216ms) | |
TypeScript | |
✔ remaps branches (238ms) | |
✔ remaps classes (259ms) | |
UglifyJS | |
✔ remaps branches (304ms) | |
✔ remaps classes (338ms) | |
nyc | |
✔ remaps branches (360ms) | |
✔ remaps classes (365ms) | |
rollup | |
✔ remaps branches (384ms) | |
✔ remaps classes (402ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3510ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (814ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (772ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (4064ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (2620ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (3066ms) | |
report | |
✔ supports reporting on directories outside cwd (259ms) | |
✔ supports reporting on single directories outside cwd (310ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (492ms) | |
--extension | |
✔ includes coverage when extensions specified (1175ms) | |
✔ includes coverage when extensions specified with --all (1440ms) | |
c8 on Node.js < 10 | |
✔ skip coverage (220ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (56ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
55 passing (42s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 97.19 | 90 | 100 | 97.19 | | |
bin | 96.15 | 100 | 100 | 96.15 | | |
c8.js | 96.15 | 100 | 100 | 96.15 | 50-51 | |
lib | 96.82 | 87.75 | 100 | 96.82 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.16 | 75 | 100 | 98.16 | 159-160,195-196 | |
report.js | 95 | 90 | 100 | 95 | ...133,255-256,283-284,290-292 | |
source-map-from-file.js | 100 | 100 | 100 | 100 | | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 18 packages in 6s | |
28 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.8.1 | |
added 379 packages, and audited 380 packages in 21s | |
95 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (1227ms) | |
✔ supports externally set NODE_V8_COVERAGE (812ms) | |
✔ merges reports from subprocesses together (449ms) | |
✔ allows relative files to be included (707ms) | |
✔ exits with 1 when report output fails (534ms) | |
✔ should allow for files outside of cwd (355ms) | |
✔ should allow for multiple overrides of src location for --all (372ms) | |
✔ cobertura report escapes special characters (330ms) | |
✔ collects coverage for script with shebang (358ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (322ms) | |
✔ exits with 1 if coverage is below threshold (418ms) | |
✔ allows threshold to be applied on per-file basis (480ms) | |
✔ allows --check-coverage when executing script (1057ms) | |
✔ --100 (896ms) | |
✔ check-coverage command with --100 (273ms) | |
report | |
✔ generates report from existing temporary files (265ms) | |
✔ supports --check-coverage, when generating reports (276ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (374ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (307ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (295ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (321ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (335ms) | |
TypeScript | |
✔ remaps branches (334ms) | |
✔ remaps classes (336ms) | |
UglifyJS | |
✔ remaps branches (351ms) | |
✔ remaps classes (345ms) | |
nyc | |
✔ remaps branches (342ms) | |
✔ remaps classes (336ms) | |
rollup | |
✔ remaps branches (339ms) | |
✔ remaps classes (344ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3437ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (798ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (744ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3343ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (841ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1797ms) | |
report | |
✔ supports reporting on directories outside cwd (191ms) | |
✔ supports reporting on single directories outside cwd (184ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (477ms) | |
--extension | |
✔ includes coverage when extensions specified (892ms) | |
✔ includes coverage when extensions specified with --all (1183ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (4014ms) | |
✔ supports externally set NODE_V8_COVERAGE (8652ms) | |
✔ merges reports from subprocesses together (856ms) | |
✔ allows relative files to be included (529ms) | |
✔ exits with 1 when report output fails (642ms) | |
✔ should allow for files outside of cwd (422ms) | |
✔ should allow for multiple overrides of src location for --all (311ms) | |
✔ cobertura report escapes special characters (232ms) | |
✔ collects coverage for script with shebang (219ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (199ms) | |
✔ exits with 1 if coverage is below threshold (221ms) | |
✔ allows threshold to be applied on per-file basis (235ms) | |
✔ allows --check-coverage when executing script (735ms) | |
✔ --100 (727ms) | |
✔ check-coverage command with --100 (203ms) | |
report | |
✔ generates report from existing temporary files (241ms) | |
✔ supports --check-coverage, when generating reports (250ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (307ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (295ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (285ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (335ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (324ms) | |
TypeScript | |
✔ remaps branches (413ms) | |
✔ remaps classes (366ms) | |
UglifyJS | |
✔ remaps branches (379ms) | |
✔ remaps classes (413ms) | |
nyc | |
✔ remaps branches (362ms) | |
✔ remaps classes (380ms) | |
rollup | |
✔ remaps branches (388ms) | |
✔ remaps classes (353ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3147ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (821ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (751ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3777ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (880ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1700ms) | |
report | |
✔ supports reporting on directories outside cwd (182ms) | |
✔ supports reporting on single directories outside cwd (173ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (323ms) | |
--extension | |
✔ includes coverage when extensions specified (817ms) | |
✔ includes coverage when extensions specified with --all (1106ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (57ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
97 passing (1m) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 96.64 | 87.85 | 100 | 96.64 | | |
bin | 90.38 | 88.88 | 100 | 90.38 | | |
c8.js | 90.38 | 88.88 | 100 | 90.38 | 27-29,50-51 | |
lib | 96.58 | 86.23 | 100 | 96.58 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 94.96 | 89.18 | 100 | 94.96 | ...249,332-333,360-361,367-369 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 15 packages in 3s | |
16 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.4.2 | |
added 367 packages, and audited 368 packages in 14s | |
89 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (724ms) | |
✔ supports externally set NODE_V8_COVERAGE (717ms) | |
✔ merges reports from subprocesses together (447ms) | |
✔ allows relative files to be included (415ms) | |
✔ exits with 1 when report output fails (312ms) | |
✔ should allow for files outside of cwd (237ms) | |
✔ should allow for multiple overrides of src location for --all (4392ms) | |
✔ cobertura report escapes special characters (3137ms) | |
✔ collects coverage for script with shebang (434ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (158ms) | |
✔ exits with 1 if coverage is below threshold (168ms) | |
✔ allows threshold to be applied on per-file basis (157ms) | |
✔ allows --check-coverage when executing script (714ms) | |
✔ --100 (723ms) | |
✔ check-coverage command with --100 (157ms) | |
report | |
✔ generates report from existing temporary files (183ms) | |
✔ supports --check-coverage, when generating reports (190ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (231ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (211ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (200ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (221ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (213ms) | |
TypeScript | |
✔ remaps branches (222ms) | |
✔ remaps classes (254ms) | |
UglifyJS | |
✔ remaps branches (257ms) | |
✔ remaps classes (303ms) | |
nyc | |
✔ remaps branches (327ms) | |
✔ remaps classes (344ms) | |
rollup | |
✔ remaps branches (339ms) | |
✔ remaps classes (389ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (4107ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (761ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (676ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3325ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (674ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1359ms) | |
report | |
✔ supports reporting on directories outside cwd (195ms) | |
✔ supports reporting on single directories outside cwd (187ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (334ms) | |
--extension | |
✔ includes coverage when extensions specified (800ms) | |
✔ includes coverage when extensions specified with --all (962ms) | |
c8 on Node.js < 10 | |
✔ skip coverage (153ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (41ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
55 passing (32s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 97.42 | 90.76 | 100 | 97.42 | | |
bin | 96.15 | 100 | 100 | 96.15 | | |
c8.js | 96.15 | 100 | 100 | 96.15 | 50-51 | |
lib | 97.11 | 88.77 | 100 | 97.11 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.16 | 75 | 100 | 98.16 | 159-160,195-196 | |
report.js | 95.58 | 91.66 | 100 | 95.58 | ...118,129-133,255-256,290-292 | |
source-map-from-file.js | 100 | 100 | 100 | 100 | | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 18 packages in 11s | |
28 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.8.1 | |
added 379 packages, and audited 380 packages in 14s | |
95 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (1128ms) | |
✔ supports externally set NODE_V8_COVERAGE (883ms) | |
✔ merges reports from subprocesses together (385ms) | |
✔ allows relative files to be included (656ms) | |
✔ exits with 1 when report output fails (504ms) | |
✔ should allow for files outside of cwd (337ms) | |
✔ should allow for multiple overrides of src location for --all (347ms) | |
✔ cobertura report escapes special characters (364ms) | |
✔ collects coverage for script with shebang (364ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (245ms) | |
✔ exits with 1 if coverage is below threshold (272ms) | |
✔ allows threshold to be applied on per-file basis (284ms) | |
✔ allows --check-coverage when executing script (804ms) | |
✔ --100 (770ms) | |
✔ check-coverage command with --100 (207ms) | |
report | |
✔ generates report from existing temporary files (230ms) | |
✔ supports --check-coverage, when generating reports (254ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (320ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (300ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (327ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (7440ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (4850ms) | |
TypeScript | |
✔ remaps branches (3011ms) | |
✔ remaps classes (245ms) | |
UglifyJS | |
✔ remaps branches (512ms) | |
✔ remaps classes (229ms) | |
nyc | |
✔ remaps branches (423ms) | |
✔ remaps classes (222ms) | |
rollup | |
✔ remaps branches (245ms) | |
✔ remaps classes (238ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2346ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (743ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (2005ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3869ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (1068ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2257ms) | |
report | |
✔ supports reporting on directories outside cwd (236ms) | |
✔ supports reporting on single directories outside cwd (245ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (427ms) | |
--extension | |
✔ includes coverage when extensions specified (945ms) | |
✔ includes coverage when extensions specified with --all (1216ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (822ms) | |
✔ supports externally set NODE_V8_COVERAGE (760ms) | |
✔ merges reports from subprocesses together (342ms) | |
✔ allows relative files to be included (463ms) | |
✔ exits with 1 when report output fails (761ms) | |
✔ should allow for files outside of cwd (314ms) | |
✔ should allow for multiple overrides of src location for --all (507ms) | |
✔ cobertura report escapes special characters (401ms) | |
✔ collects coverage for script with shebang (371ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (225ms) | |
✔ exits with 1 if coverage is below threshold (261ms) | |
✔ allows threshold to be applied on per-file basis (277ms) | |
✔ allows --check-coverage when executing script (829ms) | |
✔ --100 (839ms) | |
✔ check-coverage command with --100 (309ms) | |
report | |
✔ generates report from existing temporary files (263ms) | |
✔ supports --check-coverage, when generating reports (295ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (349ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (332ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (348ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (377ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (364ms) | |
TypeScript | |
✔ remaps branches (460ms) | |
✔ remaps classes (511ms) | |
UglifyJS | |
✔ remaps branches (483ms) | |
✔ remaps classes (468ms) | |
nyc | |
✔ remaps branches (649ms) | |
✔ remaps classes (404ms) | |
rollup | |
✔ remaps branches (410ms) | |
✔ remaps classes (392ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3446ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (895ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (705ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3961ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (1314ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1834ms) | |
report | |
✔ supports reporting on directories outside cwd (213ms) | |
✔ supports reporting on single directories outside cwd (191ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (404ms) | |
--extension | |
✔ includes coverage when extensions specified (852ms) | |
✔ includes coverage when extensions specified with --all (1017ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (58ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
97 passing (1m) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 96.86 | 88.57 | 100 | 96.86 | | |
bin | 90.38 | 88.88 | 100 | 90.38 | | |
c8.js | 90.38 | 88.88 | 100 | 90.38 | 27-29,50-51 | |
lib | 96.84 | 87.15 | 100 | 96.84 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 95.44 | 90.54 | 100 | 95.44 | ...147,248-249,332-333,367-369 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 15 packages in 3s | |
16 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.4.2 | |
added 367 packages, and audited 368 packages in 10s | |
89 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (1000ms) | |
✔ supports externally set NODE_V8_COVERAGE (758ms) | |
✔ merges reports from subprocesses together (344ms) | |
✔ allows relative files to be included (556ms) | |
✔ exits with 1 when report output fails (8100ms) | |
✔ should allow for files outside of cwd (228ms) | |
✔ should allow for multiple overrides of src location for --all (229ms) | |
✔ cobertura report escapes special characters (529ms) | |
✔ collects coverage for script with shebang (214ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (159ms) | |
✔ exits with 1 if coverage is below threshold (160ms) | |
✔ allows threshold to be applied on per-file basis (172ms) | |
✔ allows --check-coverage when executing script (723ms) | |
✔ --100 (722ms) | |
✔ check-coverage command with --100 (164ms) | |
report | |
✔ generates report from existing temporary files (196ms) | |
✔ supports --check-coverage, when generating reports (198ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (227ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (211ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (200ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (235ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (209ms) | |
TypeScript | |
✔ remaps branches (233ms) | |
✔ remaps classes (238ms) | |
UglifyJS | |
✔ remaps branches (218ms) | |
✔ remaps classes (221ms) | |
nyc | |
✔ remaps branches (227ms) | |
✔ remaps classes (244ms) | |
rollup | |
✔ remaps branches (281ms) | |
✔ remaps classes (321ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3467ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (717ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (705ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3034ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (765ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1354ms) | |
report | |
✔ supports reporting on directories outside cwd (191ms) | |
✔ supports reporting on single directories outside cwd (189ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (330ms) | |
--extension | |
✔ includes coverage when extensions specified (796ms) | |
✔ includes coverage when extensions specified with --all (949ms) | |
c8 on Node.js < 10 | |
✔ skip coverage (154ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (42ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
55 passing (32s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 97.42 | 89.84 | 100 | 97.42 | | |
bin | 96.15 | 100 | 100 | 96.15 | | |
c8.js | 96.15 | 100 | 100 | 96.15 | 50-51 | |
lib | 97.11 | 87.5 | 100 | 97.11 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.16 | 75 | 100 | 98.16 | 159-160,195-196 | |
report.js | 95.58 | 89.65 | 100 | 95.58 | ...118,129-133,255-256,290-292 | |
source-map-from-file.js | 100 | 100 | 100 | 100 | | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 18 packages in 10s | |
28 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v9.8.1 | |
added 379 packages, and audited 380 packages in 39s | |
95 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (1045ms) | |
✔ supports externally set NODE_V8_COVERAGE (830ms) | |
✔ merges reports from subprocesses together (736ms) | |
✔ allows relative files to be included (714ms) | |
✔ exits with 1 when report output fails (1154ms) | |
✔ should allow for files outside of cwd (309ms) | |
✔ should allow for multiple overrides of src location for --all (3138ms) | |
✔ cobertura report escapes special characters (1516ms) | |
✔ collects coverage for script with shebang (232ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (220ms) | |
✔ exits with 1 if coverage is below threshold (196ms) | |
✔ allows threshold to be applied on per-file basis (219ms) | |
✔ allows --check-coverage when executing script (751ms) | |
✔ --100 (727ms) | |
✔ check-coverage command with --100 (203ms) | |
report | |
✔ generates report from existing temporary files (216ms) | |
✔ supports --check-coverage, when generating reports (253ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (301ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (306ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (334ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (309ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (333ms) | |
TypeScript | |
✔ remaps branches (328ms) | |
✔ remaps classes (326ms) | |
UglifyJS | |
✔ remaps branches (389ms) | |
✔ remaps classes (358ms) | |
nyc | |
✔ remaps branches (374ms) | |
✔ remaps classes (370ms) | |
rollup | |
✔ remaps branches (353ms) | |
✔ remaps classes (355ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2687ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (825ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (759ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3075ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (2037ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2392ms) | |
report | |
✔ supports reporting on directories outside cwd (790ms) | |
✔ supports reporting on single directories outside cwd (281ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (413ms) | |
--extension | |
✔ includes coverage when extensions specified (825ms) | |
✔ includes coverage when extensions specified with --all (1003ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (762ms) | |
✔ supports externally set NODE_V8_COVERAGE (746ms) | |
✔ merges reports from subprocesses together (375ms) | |
✔ allows relative files to be included (512ms) | |
✔ exits with 1 when report output fails (727ms) | |
✔ should allow for files outside of cwd (343ms) | |
✔ should allow for multiple overrides of src location for --all (333ms) | |
✔ cobertura report escapes special characters (300ms) | |
✔ collects coverage for script with shebang (301ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (219ms) | |
✔ exits with 1 if coverage is below threshold (240ms) | |
✔ allows threshold to be applied on per-file basis (262ms) | |
✔ allows --check-coverage when executing script (793ms) | |
✔ --100 (738ms) | |
✔ check-coverage command with --100 (206ms) | |
report | |
✔ generates report from existing temporary files (210ms) | |
✔ supports --check-coverage, when generating reports (221ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (283ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (280ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (273ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (299ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (305ms) | |
TypeScript | |
✔ remaps branches (320ms) | |
✔ remaps classes (324ms) | |
UglifyJS | |
✔ remaps branches (316ms) | |
✔ remaps classes (424ms) | |
nyc | |
✔ remaps branches (3891ms) | |
✔ remaps classes (224ms) | |
rollup | |
✔ remaps branches (226ms) | |
✔ remaps classes (234ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2206ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (783ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (738ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2954ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (771ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1633ms) | |
report | |
✔ supports reporting on directories outside cwd (199ms) | |
✔ supports reporting on single directories outside cwd (185ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (330ms) | |
--extension | |
✔ includes coverage when extensions specified (818ms) | |
✔ includes coverage when extensions specified with --all (983ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (42ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
97 passing (1m) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 96.86 | 87.68 | 100 | 96.86 | | |
bin | 90.38 | 88.88 | 100 | 90.38 | | |
c8.js | 90.38 | 88.88 | 100 | 90.38 | 27-29,50-51 | |
lib | 96.84 | 85.98 | 100 | 96.84 | | |
is-cjs-esm-bridge.js | 90 | 62.5 | 100 | 90 | 9 | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 95.44 | 88.88 | 100 | 95.44 | ...147,248-249,332-333,367-369 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now using node v14.21.3 (npm v9.8.1) | |
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
npm ERR! code EBADENGINE | |
npm ERR! engine Unsupported engine | |
npm ERR! engine Not compatible with your version of node/npm: [email protected] | |
npm ERR! notsup Not compatible with your version of node/npm: [email protected] | |
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"} | |
npm ERR! notsup Actual: {"npm":"9.8.1","node":"v14.21.3"} | |
npm ERR! A complete log of this run can be found in: /home/tmckeown/.npm/_logs/2024-01-16T19_37_49_148Z-debug-0.log | |
* npm upgraded to: v9.8.1 | |
added 384 packages, and audited 385 packages in 32s | |
98 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (8267ms) | |
✔ supports externally set NODE_V8_COVERAGE (735ms) | |
✔ merges reports from subprocesses together (407ms) | |
✔ allows relative files to be included (413ms) | |
✔ exits with 1 when report output fails (355ms) | |
✔ should allow for files outside of cwd (365ms) | |
✔ should allow for multiple overrides of src location for --all (510ms) | |
✔ cobertura report escapes special characters (318ms) | |
✔ collects coverage for script with shebang (295ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (207ms) | |
✔ exits with 1 if coverage is below threshold (218ms) | |
✔ allows threshold to be applied on per-file basis (228ms) | |
✔ allows --check-coverage when executing script (779ms) | |
✔ --100 (772ms) | |
✔ check-coverage command with --100 (217ms) | |
report | |
✔ generates report from existing temporary files (224ms) | |
✔ supports --check-coverage, when generating reports (234ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (347ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (268ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (315ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (260ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (250ms) | |
TypeScript | |
✔ remaps branches (274ms) | |
✔ remaps classes (282ms) | |
UglifyJS | |
✔ remaps branches (286ms) | |
✔ remaps classes (318ms) | |
nyc | |
✔ remaps branches (346ms) | |
✔ remaps classes (399ms) | |
rollup | |
✔ remaps branches (611ms) | |
✔ remaps classes (412ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (4057ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (16743ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (623ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2561ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (626ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1187ms) | |
report | |
✔ supports reporting on directories outside cwd (178ms) | |
✔ supports reporting on single directories outside cwd (130ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (300ms) | |
--extension | |
✔ includes coverage when extensions specified (762ms) | |
✔ includes coverage when extensions specified with --all (1106ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (772ms) | |
✔ supports externally set NODE_V8_COVERAGE (729ms) | |
✔ merges reports from subprocesses together (410ms) | |
✔ allows relative files to be included (450ms) | |
✔ exits with 1 when report output fails (605ms) | |
✔ should allow for files outside of cwd (262ms) | |
✔ should allow for multiple overrides of src location for --all (278ms) | |
✔ cobertura report escapes special characters (259ms) | |
✔ collects coverage for script with shebang (272ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (208ms) | |
✔ exits with 1 if coverage is below threshold (216ms) | |
✔ allows threshold to be applied on per-file basis (215ms) | |
✔ allows --check-coverage when executing script (781ms) | |
✔ --100 (773ms) | |
✔ check-coverage command with --100 (209ms) | |
report | |
✔ generates report from existing temporary files (221ms) | |
✔ supports --check-coverage, when generating reports (237ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (318ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (323ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (316ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (375ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (364ms) | |
TypeScript | |
✔ remaps branches (390ms) | |
✔ remaps classes (400ms) | |
UglifyJS | |
✔ remaps branches (406ms) | |
✔ remaps classes (401ms) | |
nyc | |
✔ remaps branches (391ms) | |
✔ remaps classes (391ms) | |
rollup | |
✔ remaps branches (387ms) | |
✔ remaps classes (394ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (3406ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (997ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (908ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3981ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (905ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1793ms) | |
report | |
✔ supports reporting on directories outside cwd (199ms) | |
✔ supports reporting on single directories outside cwd (190ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (379ms) | |
--extension | |
✔ includes coverage when extensions specified (855ms) | |
✔ includes coverage when extensions specified with --all (1026ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (39ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
✔ should allow relative path reports directories | |
✔ should allow relative path temporary directories | |
✔ should allow absolute path reports directories | |
✔ should allow absolute path temporary directories | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
101 passing (1m) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 97.98 | 91.4 | 100 | 97.98 | | |
bin | 95.34 | 100 | 100 | 95.34 | | |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42 | |
lib | 97.82 | 89.79 | 100 | 97.82 | | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 97.01 | 91.54 | 100 | 97.01 | ...234,317-318,345-346,352-354 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now using node v16.20.2 (npm v8.19.4) | |
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
npm ERR! code EBADENGINE | |
npm ERR! engine Unsupported engine | |
npm ERR! engine Not compatible with your version of node/npm: [email protected] | |
npm ERR! notsup Not compatible with your version of node/npm: [email protected] | |
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"} | |
npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"} | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/tmckeown/.npm/_logs/2024-01-16T19_41_13_631Z-debug-0.log | |
* npm upgraded to: v8.19.4 | |
added 384 packages, and audited 385 packages in 6s | |
98 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (734ms) | |
✔ supports externally set NODE_V8_COVERAGE (1883ms) | |
✔ merges reports from subprocesses together (326ms) | |
✔ allows relative files to be included (392ms) | |
✔ exits with 1 when report output fails (299ms) | |
✔ should allow for files outside of cwd (219ms) | |
✔ should allow for multiple overrides of src location for --all (242ms) | |
✔ cobertura report escapes special characters (217ms) | |
✔ collects coverage for script with shebang (228ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (188ms) | |
✔ exits with 1 if coverage is below threshold (193ms) | |
✔ allows threshold to be applied on per-file basis (195ms) | |
✔ allows --check-coverage when executing script (7952ms) | |
✔ --100 (1732ms) | |
✔ check-coverage command with --100 (193ms) | |
report | |
✔ generates report from existing temporary files (211ms) | |
✔ supports --check-coverage, when generating reports (208ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (263ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (226ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (215ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (223ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (219ms) | |
TypeScript | |
✔ remaps branches (231ms) | |
✔ remaps classes (227ms) | |
UglifyJS | |
✔ remaps branches (222ms) | |
✔ remaps classes (230ms) | |
nyc | |
✔ remaps branches (225ms) | |
✔ remaps classes (226ms) | |
rollup | |
✔ remaps branches (222ms) | |
✔ remaps classes (227ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2007ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (599ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (528ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2114ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (741ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1715ms) | |
report | |
✔ supports reporting on directories outside cwd (178ms) | |
✔ supports reporting on single directories outside cwd (168ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (320ms) | |
--extension | |
✔ includes coverage when extensions specified (805ms) | |
✔ includes coverage when extensions specified with --all (974ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (737ms) | |
✔ supports externally set NODE_V8_COVERAGE (714ms) | |
✔ merges reports from subprocesses together (346ms) | |
✔ allows relative files to be included (453ms) | |
✔ exits with 1 when report output fails (729ms) | |
✔ should allow for files outside of cwd (309ms) | |
✔ should allow for multiple overrides of src location for --all (346ms) | |
✔ cobertura report escapes special characters (312ms) | |
✔ collects coverage for script with shebang (338ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (195ms) | |
✔ exits with 1 if coverage is below threshold (225ms) | |
✔ allows threshold to be applied on per-file basis (243ms) | |
✔ allows --check-coverage when executing script (787ms) | |
✔ --100 (732ms) | |
✔ check-coverage command with --100 (200ms) | |
report | |
✔ generates report from existing temporary files (205ms) | |
✔ supports --check-coverage, when generating reports (229ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (278ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (272ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (273ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (306ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (307ms) | |
TypeScript | |
✔ remaps branches (326ms) | |
✔ remaps classes (331ms) | |
UglifyJS | |
✔ remaps branches (331ms) | |
✔ remaps classes (416ms) | |
nyc | |
✔ remaps branches (400ms) | |
✔ remaps classes (355ms) | |
rollup | |
✔ remaps branches (349ms) | |
✔ remaps classes (338ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (7387ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (736ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (558ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2161ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (632ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1329ms) | |
report | |
✔ supports reporting on directories outside cwd (171ms) | |
✔ supports reporting on single directories outside cwd (167ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (323ms) | |
--extension | |
✔ includes coverage when extensions specified (806ms) | |
✔ includes coverage when extensions specified with --all (985ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
✔ should allow relative path reports directories | |
✔ should allow relative path temporary directories | |
✔ should allow absolute path reports directories | |
✔ should allow absolute path temporary directories | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
101 passing (58s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 98.2 | 92.18 | 100 | 98.2 | | |
bin | 95.34 | 100 | 100 | 95.34 | | |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42 | |
lib | 98.09 | 90.81 | 100 | 98.09 | | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 97.51 | 92.95 | 100 | 97.51 | ...121,233-234,317-318,352-354 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now using node v18.19.0 (npm v10.3.0) | |
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 14 packages in 8s | |
24 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v10.3.0 | |
added 384 packages, and audited 385 packages in 13s | |
98 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (734ms) | |
✔ supports externally set NODE_V8_COVERAGE (706ms) | |
✔ merges reports from subprocesses together (321ms) | |
✔ allows relative files to be included (339ms) | |
✔ exits with 1 when report output fails (292ms) | |
✔ should allow for files outside of cwd (217ms) | |
✔ should allow for multiple overrides of src location for --all (240ms) | |
✔ cobertura report escapes special characters (241ms) | |
✔ collects coverage for script with shebang (220ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (191ms) | |
✔ exits with 1 if coverage is below threshold (202ms) | |
✔ allows threshold to be applied on per-file basis (200ms) | |
✔ allows --check-coverage when executing script (724ms) | |
✔ --100 (725ms) | |
✔ check-coverage command with --100 (199ms) | |
report | |
✔ generates report from existing temporary files (212ms) | |
✔ supports --check-coverage, when generating reports (219ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (247ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (225ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (203ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (238ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (203ms) | |
TypeScript | |
✔ remaps branches (231ms) | |
✔ remaps classes (226ms) | |
UglifyJS | |
✔ remaps branches (229ms) | |
✔ remaps classes (232ms) | |
nyc | |
✔ remaps branches (230ms) | |
✔ remaps classes (229ms) | |
rollup | |
✔ remaps branches (231ms) | |
✔ remaps classes (223ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2151ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (1352ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (1660ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (7073ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (984ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2269ms) | |
report | |
✔ supports reporting on directories outside cwd (237ms) | |
✔ supports reporting on single directories outside cwd (219ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (436ms) | |
--extension | |
✔ includes coverage when extensions specified (1106ms) | |
✔ includes coverage when extensions specified with --all (1293ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (1037ms) | |
✔ supports externally set NODE_V8_COVERAGE (876ms) | |
✔ merges reports from subprocesses together (484ms) | |
✔ allows relative files to be included (555ms) | |
✔ exits with 1 when report output fails (824ms) | |
✔ should allow for files outside of cwd (395ms) | |
✔ should allow for multiple overrides of src location for --all (338ms) | |
✔ cobertura report escapes special characters (300ms) | |
✔ collects coverage for script with shebang (298ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (200ms) | |
✔ exits with 1 if coverage is below threshold (229ms) | |
✔ allows threshold to be applied on per-file basis (249ms) | |
✔ allows --check-coverage when executing script (784ms) | |
✔ --100 (734ms) | |
✔ check-coverage command with --100 (201ms) | |
report | |
✔ generates report from existing temporary files (220ms) | |
✔ supports --check-coverage, when generating reports (226ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (288ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (270ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (258ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (312ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (289ms) | |
TypeScript | |
✔ remaps branches (321ms) | |
✔ remaps classes (324ms) | |
UglifyJS | |
✔ remaps branches (326ms) | |
✔ remaps classes (330ms) | |
nyc | |
✔ remaps branches (327ms) | |
✔ remaps classes (328ms) | |
rollup | |
✔ remaps branches (323ms) | |
✔ remaps classes (325ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2411ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (887ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (789ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2862ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (848ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1804ms) | |
report | |
✔ supports reporting on directories outside cwd (177ms) | |
✔ supports reporting on single directories outside cwd (170ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (318ms) | |
--extension | |
✔ includes coverage when extensions specified (5695ms) | |
✔ includes coverage when extensions specified with --all (973ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin (43ms) | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
✔ should allow relative path reports directories | |
✔ should allow relative path temporary directories | |
✔ should allow absolute path reports directories | |
✔ should allow absolute path temporary directories | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
101 passing (60s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 98.2 | 91.26 | 100 | 98.2 | | |
bin | 95.34 | 100 | 100 | 95.34 | | |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42 | |
lib | 98.09 | 89.58 | 100 | 98.09 | | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 97.51 | 91.3 | 100 | 97.51 | ...121,233-234,317-318,352-354 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now using node v20.11.0 (npm v10.3.0) | |
Attempting to upgrade to the latest working version of npm... | |
* Installing latest `npm`; if this does not work on your node version, please report a bug! | |
changed 14 packages in 5s | |
24 packages are looking for funding | |
run `npm fund` for details | |
* npm upgraded to: v10.3.0 | |
added 384 packages, and audited 385 packages in 5s | |
98 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
> [email protected] test:snap | |
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test | |
> [email protected] test | |
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=1000000 ./test/*.js | |
c8 | |
✔ reports coverage for script that exits normally (1275ms) | |
✔ supports externally set NODE_V8_COVERAGE (699ms) | |
✔ merges reports from subprocesses together (323ms) | |
✔ allows relative files to be included (332ms) | |
✔ exits with 1 when report output fails (296ms) | |
✔ should allow for files outside of cwd (217ms) | |
✔ should allow for multiple overrides of src location for --all (233ms) | |
✔ cobertura report escapes special characters (210ms) | |
✔ collects coverage for script with shebang (218ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (184ms) | |
✔ exits with 1 if coverage is below threshold (196ms) | |
✔ allows threshold to be applied on per-file basis (197ms) | |
✔ allows --check-coverage when executing script (721ms) | |
✔ --100 (884ms) | |
✔ check-coverage command with --100 (1473ms) | |
report | |
✔ generates report from existing temporary files (199ms) | |
✔ supports --check-coverage, when generating reports (205ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (240ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (226ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (194ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (221ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (209ms) | |
TypeScript | |
✔ remaps branches (224ms) | |
✔ remaps classes (223ms) | |
UglifyJS | |
✔ remaps branches (225ms) | |
✔ remaps classes (227ms) | |
nyc | |
✔ remaps branches (222ms) | |
✔ remaps classes (221ms) | |
rollup | |
✔ remaps branches (220ms) | |
✔ remaps classes (216ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (1666ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (564ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (517ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (1813ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (562ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1062ms) | |
report | |
✔ supports reporting on directories outside cwd (147ms) | |
✔ supports reporting on single directories outside cwd (166ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (309ms) | |
--extension | |
✔ includes coverage when extensions specified (796ms) | |
✔ includes coverage when extensions specified with --all (983ms) | |
c8 mergeAsync | |
✔ reports coverage for script that exits normally (777ms) | |
✔ supports externally set NODE_V8_COVERAGE (711ms) | |
✔ merges reports from subprocesses together (373ms) | |
✔ allows relative files to be included (504ms) | |
✔ exits with 1 when report output fails (848ms) | |
✔ should allow for files outside of cwd (381ms) | |
✔ should allow for multiple overrides of src location for --all (385ms) | |
✔ cobertura report escapes special characters (336ms) | |
✔ collects coverage for script with shebang (340ms) | |
check-coverage | |
✔ exits with 0 if coverage within threshold (204ms) | |
✔ exits with 1 if coverage is below threshold (233ms) | |
✔ allows threshold to be applied on per-file basis (257ms) | |
✔ allows --check-coverage when executing script (785ms) | |
✔ --100 (735ms) | |
✔ check-coverage command with --100 (192ms) | |
report | |
✔ generates report from existing temporary files (201ms) | |
✔ supports --check-coverage, when generating reports (222ms) | |
ESM Modules | |
✔ collects coverage for ESM modules (284ms) | |
/* c8 ignore next */ | |
✔ ignores lines with special comment (281ms) | |
✔ does not incorrectly mark previous branch as uncovered (see #254) (273ms) | |
/* c8 ignore start/stop */ | |
✔ ignores lines with special comment (323ms) | |
source-maps | |
✔ does not attempt to load source map URLs that aren't (295ms) | |
TypeScript | |
✔ remaps branches (332ms) | |
✔ remaps classes (353ms) | |
UglifyJS | |
✔ remaps branches (336ms) | |
✔ remaps classes (347ms) | |
nyc | |
✔ remaps branches (372ms) | |
✔ remaps classes (348ms) | |
rollup | |
✔ remaps branches (338ms) | |
✔ remaps classes (6918ms) | |
ts-node | |
✔ reads source-map from cache, and applies to coverage (2084ms) | |
--all | |
✔ reports coverage for unloaded js files as 0 for line, branch and function (569ms) | |
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (528ms) | |
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (1868ms) | |
✔ should allow for --all to be used in conjunction with --check-coverage (574ms) | |
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1492ms) | |
report | |
✔ supports reporting on directories outside cwd (178ms) | |
✔ supports reporting on single directories outside cwd (169ms) | |
--exclude-after-remap | |
✔ applies exclude rules after source-maps are applied (327ms) | |
--extension | |
✔ includes coverage when extensions specified (803ms) | |
✔ includes coverage when extensions specified with --all (958ms) | |
parse-args | |
hideInstrumenteeArgs | |
✔ hides arguments passed to instrumented app | |
hideInstrumenterArgs | |
✔ hides arguments passed to c8 bin | |
with NODE_V8_COVERAGE already set | |
✔ should not override it | |
--config | |
✔ should resolve to .nycrc at cwd | |
✔ should use config file specified in --config | |
✔ should have -c as an alias | |
✔ should respect options on the command line over config file | |
✔ should allow config files to extend each other | |
✔ should allow relative path reports directories | |
✔ should allow relative path temporary directories | |
✔ should allow absolute path reports directories | |
✔ should allow absolute path temporary directories | |
--merge-async | |
✔ should default to false | |
✔ should set to true when flag exists | |
source-map-from-file | |
✔ should parse source maps from compiled targets | |
✔ should handle extra whitespace characters | |
✔ should support base64 encoded inline source maps | |
✔ should throw error if source map isn't JSON format | |
✔ should throw error if url doesn't have a json content type | |
101 passing (59s) | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
All files | 98.2 | 91.26 | 100 | 98.2 | | |
bin | 95.34 | 100 | 100 | 95.34 | | |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42 | |
lib | 98.09 | 89.58 | 100 | 98.09 | | |
parse-args.js | 98.21 | 75 | 100 | 98.21 | 165-166,201-202 | |
report.js | 97.51 | 91.3 | 100 | 97.51 | ...121,233-234,317-318,352-354 | |
source-map-from-file.js | 100 | 93.33 | 100 | 100 | 92 | |
lib/commands | 100 | 95.45 | 100 | 100 | | |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26 | |
report.js | 100 | 100 | 100 | 100 | | |
--------------------------|---------|----------|---------|---------|-------------------------------- | |
> [email protected] posttest | |
> standard | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment