Skip to content

Instantly share code, notes, and snippets.

@mcknasty
Last active January 31, 2024 15:49
Show Gist options
  • Save mcknasty/7508fa66eb137c53cc0d1f67804df803 to your computer and use it in GitHub Desktop.
Save mcknasty/7508fa66eb137c53cc0d1f67804df803 to your computer and use it in GitHub Desktop.
mcknasty/c8 Pull Request 5 Unit Test Martix Report
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: npm@10.4.0
npm ERR! notsup Not compatible with your version of node/npm: npm@10.4.0
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: ~/.npm/_logs/2024-01-31T15_26_54_253Z-debug-0.log
* npm upgraded to: v9.8.1
added 383 packages, and audited 384 packages in 38s
98 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> c8@9.1.0 test:snap
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test
> c8@9.1.0 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 (1465ms)
✔ supports externally set NODE_V8_COVERAGE (750ms)
✔ merges reports from subprocesses together (427ms)
✔ allows relative files to be included (409ms)
✔ exits with 1 when report output fails (340ms)
✔ should allow for files outside of cwd (287ms)
✔ should allow for multiple overrides of src location for --all (849ms)
✔ cobertura report escapes special characters (270ms)
✔ collects coverage for script with shebang (276ms)
check-coverage
✔ exits with 0 if coverage within threshold (226ms)
✔ exits with 1 if coverage is below threshold (3345ms)
✔ allows threshold to be applied on per-file basis (647ms)
✔ allows --check-coverage when executing script (792ms)
✔ --100 (783ms)
✔ check-coverage command with --100 (225ms)
report
✔ generates report from existing temporary files (243ms)
✔ supports --check-coverage, when generating reports (232ms)
ESM Modules
✔ collects coverage for ESM modules (275ms)
/* c8 ignore next */
✔ ignores lines with special comment (258ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (251ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (266ms)
source-maps
✔ does not attempt to load source map URLs that aren't (249ms)
TypeScript
✔ remaps branches (266ms)
✔ remaps classes (272ms)
UglifyJS
✔ remaps branches (279ms)
✔ remaps classes (293ms)
nyc
✔ remaps branches (279ms)
✔ remaps classes (277ms)
rollup
✔ remaps branches (303ms)
✔ remaps classes (334ms)
ts-node
✔ reads source-map from cache, and applies to coverage (3219ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1093ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (1121ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3518ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1037ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2235ms)
report
✔ supports reporting on directories outside cwd (210ms)
✔ supports reporting on single directories outside cwd (196ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (446ms)
--extension
✔ includes coverage when extensions specified (873ms)
✔ includes coverage when extensions specified with --all (1083ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (802ms)
✔ supports externally set NODE_V8_COVERAGE (730ms)
✔ merges reports from subprocesses together (426ms)
✔ allows relative files to be included (523ms)
✔ exits with 1 when report output fails (860ms)
✔ should allow for files outside of cwd (373ms)
✔ should allow for multiple overrides of src location for --all (411ms)
✔ cobertura report escapes special characters (370ms)
✔ collects coverage for script with shebang (400ms)
check-coverage
✔ exits with 0 if coverage within threshold (482ms)
✔ exits with 1 if coverage is below threshold (870ms)
✔ allows threshold to be applied on per-file basis (220ms)
✔ allows --check-coverage when executing script (788ms)
✔ --100 (770ms)
✔ check-coverage command with --100 (213ms)
report
✔ generates report from existing temporary files (231ms)
✔ supports --check-coverage, when generating reports (247ms)
ESM Modules
✔ collects coverage for ESM modules (345ms)
/* c8 ignore next */
✔ ignores lines with special comment (355ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (342ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (384ms)
source-maps
✔ does not attempt to load source map URLs that aren't (371ms)
TypeScript
✔ remaps branches (397ms)
✔ remaps classes (390ms)
UglifyJS
✔ remaps branches (382ms)
✔ remaps classes (394ms)
nyc
✔ remaps branches (562ms)
✔ remaps classes (776ms)
rollup
✔ remaps branches (511ms)
✔ remaps classes (467ms)
ts-node
✔ reads source-map from cache, and applies to coverage (3544ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1422ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (1027ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3460ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1098ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2319ms)
report
✔ supports reporting on directories outside cwd (208ms)
✔ supports reporting on single directories outside cwd (197ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (388ms)
--extension
✔ includes coverage when extensions specified (956ms)
✔ includes coverage when extensions specified with --all (1114ms)
~/codez/github/c8/test/load-config.js
loadConfigFile
✔ config directory should contain all variations of the config file naming convention
✔ throws an error message if an invalid configuration file name is passed
c8 variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .c8rc.json with --config flag (51ms)
- should be able to resolve config file .c8rc.json by detection
✔ should be able to resolve config file .c8rc.yml with --config flag
- should be able to resolve config file .c8rc.yml by detection
✔ should be able to resolve config file .c8rc.yaml with --config flag
- should be able to resolve config file .c8rc.yaml by detection
✔ should be able to resolve config file c8.config.js with --config flag
- should be able to resolve config file c8.config.js by detection
✔ should be able to resolve config file c8.config.cjs with --config flag
- should be able to resolve config file c8.config.cjs by detection
✔ should be able to resolve config file .c8rc.js with --config flag
- should be able to resolve config file .c8rc.js by detection
✔ should be able to resolve config file .c8rc.cjs with --config flag
- should be able to resolve config file .c8rc.cjs by detection
✔ should be able to resolve config file .c8.config.js with --config flag
- should be able to resolve config file .c8.config.js by detection
✔ should be able to resolve config file .c8.config.cjs with --config flag
- should be able to resolve config file .c8.config.cjs by detection
nyc variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .nycrc with --config flag
- should be able to resolve config file .nycrc by detection
✔ should be able to resolve config file .nycrc.json with --config flag
- should be able to resolve config file .nycrc.json by detection
✔ should be able to resolve config file .nycrc.yml with --config flag
- should be able to resolve config file .nycrc.yml by detection
✔ should be able to resolve config file .nycrc.yaml with --config flag
- should be able to resolve config file .nycrc.yaml by detection
✔ should be able to resolve config file nyc.config.js with --config flag
- should be able to resolve config file nyc.config.js by detection
✔ should be able to resolve config file nyc.config.cjs with --config flag
- should be able to resolve config file nyc.config.cjs by detection
✔ should be able to resolve config file .nyc.config.js with --config flag
- should be able to resolve config file .nyc.config.js by detection
✔ should be able to resolve config file .nyc.config.cjs with --config flag
- should be able to resolve config file .nyc.config.cjs by detection
handles file extensions in a case insensitive manner
✔ reads a JSON file with extension .jSoN
✔ reads a JSON file with extension .JSON
✔ reads a Common JS file with extension .CJS
✔ reads a Common JS file with extension .CJs
✔ reads a Common JS file with extension .jS
✔ reads a Common JS file with extension .JS
✔ reads a YAML file with extension .Yml
✔ reads a YAML file with extension .YAML
.json
✔ throws an error if the JSON file is empty
1) throws an error if the JSON file is invalid JSON
✔ returns an empty config if the JSON file has an empty object
✔ throws the expected error if the file reader throws
.cjs
✔ throws an error if the CJS file is empty
✔ throws the error given by require if the CJS file is invalid Common JS
✔ returns an empty config if the CJS file exports an empty object
.js
✔ returns an empty config if the JS file is empty
✔ throws the error given by require if the JS file is invalid Common JS
✔ returns an empty config if the JS file exports an empty object
.yaml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
.yml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
parse-args
hideInstrumenteeArgs
✔ hides arguments passed to instrumented app
✔ test early exit from function if no arguments are passed
hideInstrumenterArgs
✔ hides arguments passed to c8 bin
✔ interprets first args after -- as Node.js execArgv
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 use config file specified in --config even if it is not a known file name
✔ 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
144 passing (1m)
17 pending
1 failing
1) ~/codez/github/c8/test/load-config.js
loadConfigFile
.json
throws an error if the JSON file is invalid JSON:
AssertionError: expected [Function] to throw error including 'Error loading configuration from file…' but got 'Error loading configuration from file…'
+ expected - actual
-Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token o in JSON at position 1
+Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token 'o', "not valid json" is not valid JSON
at Context.<anonymous> (test/load-config.js:162:19)
at processImmediate (internal/timers.js:464:21)
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.58 | 92.35 | 100 | 97.58 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.38 | 91.33 | 100 | 97.38 |
load-config.js | 100 | 100 | 100 | 100 |
parse-args.js | 99.11 | 92.3 | 100 | 99.11 | 166-167
report.js | 97.01 | 91.54 | 100 | 97.01 | ...234,317-318,345-346,352-354
source-map-from-file.js | 91 | 71.42 | 100 | 91 | 74-76,91-93,95-97
lib/commands | 100 | 95.45 | 100 | 100 |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26
report.js | 100 | 100 | 100 | 100 |
--------------------------|---------|----------|---------|---------|--------------------------------
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: npm@10.4.0
npm ERR! notsup Not compatible with your version of node/npm: npm@10.4.0
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! ~/.npm/_logs/2024-01-31T15_30_19_568Z-debug-0.log
* npm upgraded to: v8.19.4
added 383 packages, and audited 384 packages in 8s
98 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> c8@9.1.0 test:snap
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test
> c8@9.1.0 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 (2769ms)
✔ supports externally set NODE_V8_COVERAGE (747ms)
✔ merges reports from subprocesses together (349ms)
✔ allows relative files to be included (561ms)
✔ exits with 1 when report output fails (306ms)
✔ should allow for files outside of cwd (232ms)
✔ should allow for multiple overrides of src location for --all (260ms)
✔ cobertura report escapes special characters (224ms)
✔ collects coverage for script with shebang (229ms)
check-coverage
✔ exits with 0 if coverage within threshold (205ms)
✔ exits with 1 if coverage is below threshold (241ms)
✔ allows threshold to be applied on per-file basis (225ms)
✔ allows --check-coverage when executing script (766ms)
✔ --100 (774ms)
✔ check-coverage command with --100 (4777ms)
report
✔ generates report from existing temporary files (220ms)
✔ supports --check-coverage, when generating reports (209ms)
ESM Modules
✔ collects coverage for ESM modules (284ms)
/* c8 ignore next */
✔ ignores lines with special comment (266ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (249ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (232ms)
source-maps
✔ does not attempt to load source map URLs that aren't (224ms)
TypeScript
✔ remaps branches (240ms)
✔ remaps classes (235ms)
UglifyJS
✔ remaps branches (235ms)
✔ remaps classes (238ms)
nyc
✔ remaps branches (240ms)
✔ remaps classes (234ms)
rollup
✔ remaps branches (235ms)
✔ remaps classes (239ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2937ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1017ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (961ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3647ms)
✔ should allow for --all to be used in conjunction with --check-coverage (982ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1947ms)
report
✔ supports reporting on directories outside cwd (192ms)
✔ supports reporting on single directories outside cwd (175ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (348ms)
--extension
✔ includes coverage when extensions specified (816ms)
✔ includes coverage when extensions specified with --all (1030ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (842ms)
✔ supports externally set NODE_V8_COVERAGE (727ms)
✔ merges reports from subprocesses together (355ms)
✔ allows relative files to be included (495ms)
✔ exits with 1 when report output fails (830ms)
✔ should allow for files outside of cwd (354ms)
✔ should allow for multiple overrides of src location for --all (373ms)
✔ cobertura report escapes special characters (340ms)
✔ collects coverage for script with shebang (371ms)
check-coverage
✔ exits with 0 if coverage within threshold (215ms)
✔ exits with 1 if coverage is below threshold (244ms)
✔ allows threshold to be applied on per-file basis (265ms)
✔ allows --check-coverage when executing script (805ms)
✔ --100 (750ms)
✔ check-coverage command with --100 (225ms)
report
✔ generates report from existing temporary files (211ms)
✔ supports --check-coverage, when generating reports (227ms)
ESM Modules
✔ collects coverage for ESM modules (306ms)
/* c8 ignore next */
✔ ignores lines with special comment (305ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (308ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (335ms)
source-maps
✔ does not attempt to load source map URLs that aren't (326ms)
TypeScript
✔ remaps branches (344ms)
✔ remaps classes (355ms)
UglifyJS
✔ remaps branches (1510ms)
✔ remaps classes (259ms)
nyc
✔ remaps branches (347ms)
✔ remaps classes (355ms)
rollup
✔ remaps branches (372ms)
✔ remaps classes (359ms)
ts-node
✔ reads source-map from cache, and applies to coverage (7114ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (4468ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (1752ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3641ms)
✔ should allow for --all to be used in conjunction with --check-coverage (663ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1263ms)
report
✔ supports reporting on directories outside cwd (129ms)
✔ supports reporting on single directories outside cwd (116ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (235ms)
--extension
✔ includes coverage when extensions specified (750ms)
✔ includes coverage when extensions specified with --all (1022ms)
~/codez/github/c8/test/load-config.js
loadConfigFile
✔ config directory should contain all variations of the config file naming convention
✔ throws an error message if an invalid configuration file name is passed
c8 variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .c8rc.json with --config flag (49ms)
- should be able to resolve config file .c8rc.json by detection
✔ should be able to resolve config file .c8rc.yml with --config flag
- should be able to resolve config file .c8rc.yml by detection
✔ should be able to resolve config file .c8rc.yaml with --config flag
- should be able to resolve config file .c8rc.yaml by detection
✔ should be able to resolve config file c8.config.js with --config flag
- should be able to resolve config file c8.config.js by detection
✔ should be able to resolve config file c8.config.cjs with --config flag
- should be able to resolve config file c8.config.cjs by detection
✔ should be able to resolve config file .c8rc.js with --config flag
- should be able to resolve config file .c8rc.js by detection
✔ should be able to resolve config file .c8rc.cjs with --config flag
- should be able to resolve config file .c8rc.cjs by detection
✔ should be able to resolve config file .c8.config.js with --config flag
- should be able to resolve config file .c8.config.js by detection
✔ should be able to resolve config file .c8.config.cjs with --config flag
- should be able to resolve config file .c8.config.cjs by detection
nyc variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .nycrc with --config flag
- should be able to resolve config file .nycrc by detection
✔ should be able to resolve config file .nycrc.json with --config flag
- should be able to resolve config file .nycrc.json by detection
✔ should be able to resolve config file .nycrc.yml with --config flag
- should be able to resolve config file .nycrc.yml by detection
✔ should be able to resolve config file .nycrc.yaml with --config flag
- should be able to resolve config file .nycrc.yaml by detection
✔ should be able to resolve config file nyc.config.js with --config flag
- should be able to resolve config file nyc.config.js by detection
✔ should be able to resolve config file nyc.config.cjs with --config flag
- should be able to resolve config file nyc.config.cjs by detection
✔ should be able to resolve config file .nyc.config.js with --config flag
- should be able to resolve config file .nyc.config.js by detection
✔ should be able to resolve config file .nyc.config.cjs with --config flag
- should be able to resolve config file .nyc.config.cjs by detection
handles file extensions in a case insensitive manner
✔ reads a JSON file with extension .jSoN
✔ reads a JSON file with extension .JSON
✔ reads a Common JS file with extension .CJS
✔ reads a Common JS file with extension .CJs
✔ reads a Common JS file with extension .jS
✔ reads a Common JS file with extension .JS
✔ reads a YAML file with extension .Yml
✔ reads a YAML file with extension .YAML
.json
✔ throws an error if the JSON file is empty
1) throws an error if the JSON file is invalid JSON
✔ returns an empty config if the JSON file has an empty object
✔ throws the expected error if the file reader throws
.cjs
✔ throws an error if the CJS file is empty
✔ throws the error given by require if the CJS file is invalid Common JS
✔ returns an empty config if the CJS file exports an empty object
.js
✔ returns an empty config if the JS file is empty
✔ throws the error given by require if the JS file is invalid Common JS
✔ returns an empty config if the JS file exports an empty object
.yaml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
.yml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
parse-args
hideInstrumenteeArgs
✔ hides arguments passed to instrumented app
✔ test early exit from function if no arguments are passed
hideInstrumenterArgs
✔ hides arguments passed to c8 bin
✔ interprets first args after -- as Node.js execArgv
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 use config file specified in --config even if it is not a known file name
✔ 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
144 passing (1m)
17 pending
1 failing
1) ~/codez/github/c8/test/load-config.js
loadConfigFile
.json
throws an error if the JSON file is invalid JSON:
AssertionError: expected [Function] to throw error including 'Error loading configuration from file…' but got 'Error loading configuration from file…'
+ expected - actual
-Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token o in JSON at position 1
+Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token 'o', "not valid json" is not valid JSON
at Context.<anonymous> (test/load-config.js:162:19)
at processImmediate (node:internal/timers:466:21)
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.77 | 92.99 | 100 | 97.77 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.61 | 92.12 | 100 | 97.61 |
load-config.js | 100 | 100 | 100 | 100 |
parse-args.js | 99.11 | 92.3 | 100 | 99.11 | 166-167
report.js | 97.51 | 92.95 | 100 | 97.51 | ...121,233-234,317-318,352-354
source-map-from-file.js | 91 | 71.42 | 100 | 91 | 74-76,91-93,95-97
lib/commands | 100 | 95.45 | 100 | 100 |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26
report.js | 100 | 100 | 100 | 100 |
--------------------------|---------|----------|---------|---------|--------------------------------
Now using node v18.19.0 (npm v10.4.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 16s
24 packages are looking for funding
run `npm fund` for details
* npm upgraded to: v10.4.0
added 383 packages, and audited 384 packages in 1m
98 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> c8@9.1.0 test:snap
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test
> c8@9.1.0 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 (834ms)
✔ supports externally set NODE_V8_COVERAGE (721ms)
✔ merges reports from subprocesses together (333ms)
✔ allows relative files to be included (345ms)
✔ exits with 1 when report output fails (309ms)
✔ should allow for files outside of cwd (230ms)
✔ should allow for multiple overrides of src location for --all (267ms)
✔ cobertura report escapes special characters (226ms)
✔ collects coverage for script with shebang (239ms)
check-coverage
✔ exits with 0 if coverage within threshold (361ms)
✔ exits with 1 if coverage is below threshold (206ms)
✔ allows threshold to be applied on per-file basis (210ms)
✔ allows --check-coverage when executing script (737ms)
✔ --100 (1559ms)
✔ check-coverage command with --100 (217ms)
report
✔ generates report from existing temporary files (232ms)
✔ supports --check-coverage, when generating reports (236ms)
ESM Modules
✔ collects coverage for ESM modules (252ms)
/* c8 ignore next */
✔ ignores lines with special comment (312ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (217ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (237ms)
source-maps
✔ does not attempt to load source map URLs that aren't (221ms)
TypeScript
✔ remaps branches (245ms)
✔ remaps classes (261ms)
UglifyJS
✔ remaps branches (265ms)
✔ remaps classes (256ms)
nyc
✔ remaps branches (253ms)
✔ remaps classes (289ms)
rollup
✔ remaps branches (308ms)
✔ remaps classes (340ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2858ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1068ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (934ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3319ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1089ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1932ms)
report
✔ supports reporting on directories outside cwd (194ms)
✔ supports reporting on single directories outside cwd (180ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (344ms)
--extension
✔ includes coverage when extensions specified (823ms)
✔ includes coverage when extensions specified with --all (1033ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (762ms)
✔ supports externally set NODE_V8_COVERAGE (1050ms)
✔ merges reports from subprocesses together (443ms)
✔ allows relative files to be included (586ms)
✔ exits with 1 when report output fails (983ms)
✔ should allow for files outside of cwd (429ms)
✔ should allow for multiple overrides of src location for --all (418ms)
✔ cobertura report escapes special characters (373ms)
✔ collects coverage for script with shebang (360ms)
check-coverage
✔ exits with 0 if coverage within threshold (213ms)
✔ exits with 1 if coverage is below threshold (236ms)
✔ allows threshold to be applied on per-file basis (275ms)
✔ allows --check-coverage when executing script (829ms)
✔ --100 (746ms)
✔ check-coverage command with --100 (211ms)
report
✔ generates report from existing temporary files (221ms)
✔ supports --check-coverage, when generating reports (230ms)
ESM Modules
✔ collects coverage for ESM modules (290ms)
/* c8 ignore next */
✔ ignores lines with special comment (281ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (264ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (338ms)
source-maps
✔ does not attempt to load source map URLs that aren't (318ms)
TypeScript
✔ remaps branches (350ms)
✔ remaps classes (353ms)
UglifyJS
✔ remaps branches (349ms)
✔ remaps classes (352ms)
nyc
✔ remaps branches (365ms)
✔ remaps classes (357ms)
rollup
✔ remaps branches (357ms)
✔ remaps classes (348ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2603ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1014ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (903ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3771ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1214ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2253ms)
report
✔ supports reporting on directories outside cwd (247ms)
✔ supports reporting on single directories outside cwd (252ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (483ms)
--extension
✔ includes coverage when extensions specified (938ms)
✔ includes coverage when extensions specified with --all (1049ms)
~/codez/github/c8/test/load-config.js
loadConfigFile
✔ config directory should contain all variations of the config file naming convention
✔ throws an error message if an invalid configuration file name is passed
c8 variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .c8rc.json with --config flag (46ms)
- should be able to resolve config file .c8rc.json by detection
✔ should be able to resolve config file .c8rc.yml with --config flag
- should be able to resolve config file .c8rc.yml by detection
✔ should be able to resolve config file .c8rc.yaml with --config flag
- should be able to resolve config file .c8rc.yaml by detection
✔ should be able to resolve config file c8.config.js with --config flag
- should be able to resolve config file c8.config.js by detection
✔ should be able to resolve config file c8.config.cjs with --config flag
- should be able to resolve config file c8.config.cjs by detection
✔ should be able to resolve config file .c8rc.js with --config flag
- should be able to resolve config file .c8rc.js by detection
✔ should be able to resolve config file .c8rc.cjs with --config flag
- should be able to resolve config file .c8rc.cjs by detection
✔ should be able to resolve config file .c8.config.js with --config flag
- should be able to resolve config file .c8.config.js by detection
✔ should be able to resolve config file .c8.config.cjs with --config flag
- should be able to resolve config file .c8.config.cjs by detection
nyc variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .nycrc with --config flag
- should be able to resolve config file .nycrc by detection
✔ should be able to resolve config file .nycrc.json with --config flag
- should be able to resolve config file .nycrc.json by detection
✔ should be able to resolve config file .nycrc.yml with --config flag
- should be able to resolve config file .nycrc.yml by detection
✔ should be able to resolve config file .nycrc.yaml with --config flag
- should be able to resolve config file .nycrc.yaml by detection
✔ should be able to resolve config file nyc.config.js with --config flag
- should be able to resolve config file nyc.config.js by detection
✔ should be able to resolve config file nyc.config.cjs with --config flag
- should be able to resolve config file nyc.config.cjs by detection
✔ should be able to resolve config file .nyc.config.js with --config flag
- should be able to resolve config file .nyc.config.js by detection
✔ should be able to resolve config file .nyc.config.cjs with --config flag
- should be able to resolve config file .nyc.config.cjs by detection
handles file extensions in a case insensitive manner
✔ reads a JSON file with extension .jSoN
✔ reads a JSON file with extension .JSON
✔ reads a Common JS file with extension .CJS
✔ reads a Common JS file with extension .CJs
✔ reads a Common JS file with extension .jS
✔ reads a Common JS file with extension .JS
✔ reads a YAML file with extension .Yml
✔ reads a YAML file with extension .YAML
.json
✔ throws an error if the JSON file is empty
1) throws an error if the JSON file is invalid JSON
✔ returns an empty config if the JSON file has an empty object
✔ throws the expected error if the file reader throws
.cjs
✔ throws an error if the CJS file is empty
✔ throws the error given by require if the CJS file is invalid Common JS
✔ returns an empty config if the CJS file exports an empty object
.js
✔ returns an empty config if the JS file is empty
✔ throws the error given by require if the JS file is invalid Common JS
✔ returns an empty config if the JS file exports an empty object
.yaml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
.yml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
parse-args
hideInstrumenteeArgs
✔ hides arguments passed to instrumented app
✔ test early exit from function if no arguments are passed
hideInstrumenterArgs
✔ hides arguments passed to c8 bin
✔ interprets first args after -- as Node.js execArgv
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 use config file specified in --config even if it is not a known file name
✔ 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
144 passing (55s)
17 pending
1 failing
1) ~/codez/github/c8/test/load-config.js
loadConfigFile
.json
throws an error if the JSON file is invalid JSON:
AssertionError: expected [Function] to throw error including 'Error loading configuration from file…' but got 'Error loading configuration from file…'
+ expected - actual
-Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token o in JSON at position 1
+Error loading configuration from file test.json: must contain a valid c8 configuration object. Original error: Unexpected token 'o', "not valid json" is not valid JSON
at Context.<anonymous> (test/load-config.js:162:19)
at process.processImmediate (node:internal/timers:476:21)
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.77 | 92.25 | 100 | 97.77 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.61 | 91.2 | 100 | 97.61 |
load-config.js | 100 | 100 | 100 | 100 |
parse-args.js | 99.11 | 92.3 | 100 | 99.11 | 166-167
report.js | 97.51 | 91.3 | 100 | 97.51 | ...121,233-234,317-318,352-354
source-map-from-file.js | 91 | 71.42 | 100 | 91 | 74-76,91-93,95-97
lib/commands | 100 | 95.45 | 100 | 100 |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26
report.js | 100 | 100 | 100 | 100 |
--------------------------|---------|----------|---------|---------|--------------------------------
Now using node v20.11.0 (npm v10.4.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 11s
24 packages are looking for funding
run `npm fund` for details
* npm upgraded to: v10.4.0
added 383 packages, and audited 384 packages in 13s
98 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> c8@9.1.0 test:snap
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test
> c8@9.1.0 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 (769ms)
✔ supports externally set NODE_V8_COVERAGE (713ms)
✔ merges reports from subprocesses together (337ms)
✔ allows relative files to be included (415ms)
✔ exits with 1 when report output fails (444ms)
✔ should allow for files outside of cwd (246ms)
✔ should allow for multiple overrides of src location for --all (295ms)
✔ cobertura report escapes special characters (233ms)
✔ collects coverage for script with shebang (249ms)
check-coverage
✔ exits with 0 if coverage within threshold (519ms)
✔ exits with 1 if coverage is below threshold (541ms)
✔ allows threshold to be applied on per-file basis (525ms)
✔ allows --check-coverage when executing script (1072ms)
✔ --100 (849ms)
✔ check-coverage command with --100 (274ms)
report
✔ generates report from existing temporary files (1775ms)
✔ supports --check-coverage, when generating reports (372ms)
ESM Modules
✔ collects coverage for ESM modules (288ms)
/* c8 ignore next */
✔ ignores lines with special comment (308ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (289ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (355ms)
source-maps
✔ does not attempt to load source map URLs that aren't (359ms)
TypeScript
✔ remaps branches (389ms)
✔ remaps classes (452ms)
UglifyJS
✔ remaps branches (496ms)
✔ remaps classes (7575ms)
nyc
✔ remaps branches (251ms)
✔ remaps classes (266ms)
rollup
✔ remaps branches (250ms)
✔ remaps classes (236ms)
ts-node
✔ reads source-map from cache, and applies to coverage (1720ms)
--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 (752ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (4474ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1243ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2340ms)
report
✔ supports reporting on directories outside cwd (230ms)
✔ supports reporting on single directories outside cwd (212ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (511ms)
--extension
✔ includes coverage when extensions specified (968ms)
✔ includes coverage when extensions specified with --all (1075ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (802ms)
✔ supports externally set NODE_V8_COVERAGE (714ms)
✔ merges reports from subprocesses together (366ms)
✔ allows relative files to be included (482ms)
✔ exits with 1 when report output fails (875ms)
✔ should allow for files outside of cwd (392ms)
✔ should allow for multiple overrides of src location for --all (430ms)
✔ cobertura report escapes special characters (370ms)
✔ collects coverage for script with shebang (392ms)
check-coverage
✔ exits with 0 if coverage within threshold (236ms)
✔ exits with 1 if coverage is below threshold (263ms)
✔ allows threshold to be applied on per-file basis (298ms)
✔ allows --check-coverage when executing script (816ms)
✔ --100 (747ms)
✔ check-coverage command with --100 (215ms)
report
✔ generates report from existing temporary files (219ms)
✔ supports --check-coverage, when generating reports (253ms)
ESM Modules
✔ collects coverage for ESM modules (358ms)
/* c8 ignore next */
✔ ignores lines with special comment (397ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (355ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (388ms)
source-maps
✔ does not attempt to load source map URLs that aren't (473ms)
TypeScript
✔ remaps branches (445ms)
✔ remaps classes (465ms)
UglifyJS
✔ remaps branches (2836ms)
✔ remaps classes (322ms)
nyc
✔ remaps branches (270ms)
✔ remaps classes (257ms)
rollup
✔ remaps branches (257ms)
✔ remaps classes (274ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2656ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (1032ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (1021ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3312ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1153ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2136ms)
report
✔ supports reporting on directories outside cwd (224ms)
✔ supports reporting on single directories outside cwd (219ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (404ms)
--extension
✔ includes coverage when extensions specified (896ms)
✔ includes coverage when extensions specified with --all (1154ms)
~/codez/github/c8/test/load-config.js
loadConfigFile
✔ config directory should contain all variations of the config file naming convention
✔ throws an error message if an invalid configuration file name is passed
c8 variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .c8rc.json with --config flag (61ms)
- should be able to resolve config file .c8rc.json by detection
✔ should be able to resolve config file .c8rc.yml with --config flag
- should be able to resolve config file .c8rc.yml by detection
✔ should be able to resolve config file .c8rc.yaml with --config flag
- should be able to resolve config file .c8rc.yaml by detection
✔ should be able to resolve config file c8.config.js with --config flag
- should be able to resolve config file c8.config.js by detection
✔ should be able to resolve config file c8.config.cjs with --config flag
- should be able to resolve config file c8.config.cjs by detection
✔ should be able to resolve config file .c8rc.js with --config flag
- should be able to resolve config file .c8rc.js by detection
✔ should be able to resolve config file .c8rc.cjs with --config flag
- should be able to resolve config file .c8rc.cjs by detection
✔ should be able to resolve config file .c8.config.js with --config flag
- should be able to resolve config file .c8.config.js by detection
✔ should be able to resolve config file .c8.config.cjs with --config flag
- should be able to resolve config file .c8.config.cjs by detection
nyc variations of config file
should be able to read config files with .json, .yml, .yaml, .js, .cjs extensions
✔ should be able to resolve config file .nycrc with --config flag
- should be able to resolve config file .nycrc by detection
✔ should be able to resolve config file .nycrc.json with --config flag
- should be able to resolve config file .nycrc.json by detection
✔ should be able to resolve config file .nycrc.yml with --config flag
- should be able to resolve config file .nycrc.yml by detection
✔ should be able to resolve config file .nycrc.yaml with --config flag
- should be able to resolve config file .nycrc.yaml by detection
✔ should be able to resolve config file nyc.config.js with --config flag
- should be able to resolve config file nyc.config.js by detection
✔ should be able to resolve config file nyc.config.cjs with --config flag
- should be able to resolve config file nyc.config.cjs by detection
✔ should be able to resolve config file .nyc.config.js with --config flag
- should be able to resolve config file .nyc.config.js by detection
✔ should be able to resolve config file .nyc.config.cjs with --config flag
- should be able to resolve config file .nyc.config.cjs by detection
handles file extensions in a case insensitive manner
✔ reads a JSON file with extension .jSoN
✔ reads a JSON file with extension .JSON
✔ reads a Common JS file with extension .CJS
✔ reads a Common JS file with extension .CJs
✔ reads a Common JS file with extension .jS
✔ reads a Common JS file with extension .JS
✔ reads a YAML file with extension .Yml
✔ reads a YAML file with extension .YAML
.json
✔ throws an error if the JSON file is empty
✔ throws an error if the JSON file is invalid JSON
✔ returns an empty config if the JSON file has an empty object
✔ throws the expected error if the file reader throws
.cjs
✔ throws an error if the CJS file is empty
✔ throws the error given by require if the CJS file is invalid Common JS
✔ returns an empty config if the CJS file exports an empty object
.js
✔ returns an empty config if the JS file is empty
✔ throws the error given by require if the JS file is invalid Common JS
✔ returns an empty config if the JS file exports an empty object
.yaml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
.yml
✔ throws an error if the YAML file is empty
✔ throws an error if the YAML file is invalid
✔ throws the expected error if the file reader throws
parse-args
hideInstrumenteeArgs
✔ hides arguments passed to instrumented app
✔ test early exit from function if no arguments are passed
hideInstrumenterArgs
✔ hides arguments passed to c8 bin
✔ interprets first args after -- as Node.js execArgv
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 use config file specified in --config even if it is not a known file name
✔ 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
145 passing (1m)
17 pending
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.77 | 92.25 | 100 | 97.77 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.61 | 91.2 | 100 | 97.61 |
load-config.js | 100 | 100 | 100 | 100 |
parse-args.js | 99.11 | 92.3 | 100 | 99.11 | 166-167
report.js | 97.51 | 91.3 | 100 | 97.51 | ...121,233-234,317-318,352-354
source-map-from-file.js | 91 | 71.42 | 100 | 91 | 74-76,91-93,95-97
lib/commands | 100 | 95.45 | 100 | 100 |
check-coverage.js | 100 | 92.85 | 100 | 100 | 26
report.js | 100 | 100 | 100 | 100 |
--------------------------|---------|----------|---------|---------|--------------------------------
> c8@9.1.0 posttest
> standard
standard: Use JavaScript Standard Style (https://standardjs.com)
~/codez/github/c8/test/load-config.js:17:1: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:30:3: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:31:5: 'it' is not defined.
~/codez/github/c8/test/load-config.js:54:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:55:7: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:56:9: 'beforeEach' is not defined.
~/codez/github/c8/test/load-config.js:72:9: 'afterEach' is not defined.
~/codez/github/c8/test/load-config.js:76:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:77:7: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:78:9: 'beforeEach' is not defined.
~/codez/github/c8/test/load-config.js:93:9: 'afterEach' is not defined.
~/codez/github/c8/test/load-config.js:97:5: 'it' is not defined.
~/codez/github/c8/test/load-config.js:106:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:108:9: 'it' is not defined.
~/codez/github/c8/test/load-config.js:119:9: 'it' is not defined.
~/codez/github/c8/test/load-config.js:132:9: 'it' is not defined.
~/codez/github/c8/test/load-config.js:143:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:144:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:156:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:168:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:177:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:191:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:192:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:203:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:214:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:224:5: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:225:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:236:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:247:7: 'it' is not defined.
~/codez/github/c8/test/load-config.js:258:7: 'describe' is not defined.
~/codez/github/c8/test/load-config.js:259:9: 'it' is not defined.
~/codez/github/c8/test/load-config.js:268:9: 'it' is not defined.
~/codez/github/c8/test/load-config.js:280:9: 'it' is not defined.
~/codez/github/c8/test/parse-args.js:1:25: 'beforeEach' is defined but never used.
~/codez/github/c8/test/parse-args.js:1:37: 'afterEach' is defined but never used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment