Skip to content

Instantly share code, notes, and snippets.

@mcknasty
Created January 20, 2024 19:10
Show Gist options
  • Save mcknasty/6315f83810db7e88036431534c312859 to your computer and use it in GitHub Desktop.
Save mcknasty/6315f83810db7e88036431534c312859 to your computer and use it in GitHub Desktop.
Cli Builds -- [ TimeStamp: 2024-01-20 14:10:21 595717584 ]
> c8@9.1.0 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 (817ms)
✔ supports externally set NODE_V8_COVERAGE (735ms)
✔ merges reports from subprocesses together (365ms)
✔ allows relative files to be included (416ms)
✔ exits with 1 when report output fails (389ms)
✔ should allow for files outside of cwd (367ms)
✔ should allow for multiple overrides of src location for --all (375ms)
✔ cobertura report escapes special characters (317ms)
✔ collects coverage for script with shebang (343ms)
check-coverage
✔ exits with 0 if coverage within threshold (212ms)
✔ exits with 1 if coverage is below threshold (232ms)
✔ allows threshold to be applied on per-file basis (250ms)
✔ allows --check-coverage when executing script (778ms)
✔ --100 (767ms)
✔ check-coverage command with --100 (216ms)
report
✔ generates report from existing temporary files (233ms)
✔ supports --check-coverage, when generating reports (255ms)
ESM Modules
✔ collects coverage for ESM modules (329ms)
/* c8 ignore next */
✔ ignores lines with special comment (312ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (301ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (327ms)
source-maps
✔ does not attempt to load source map URLs that aren't (301ms)
TypeScript
✔ remaps branches (345ms)
✔ remaps classes (338ms)
UglifyJS
✔ remaps branches (372ms)
✔ remaps classes (350ms)
nyc
✔ remaps branches (370ms)
✔ remaps classes (2475ms)
rollup
✔ remaps branches (296ms)
✔ remaps classes (239ms)
ts-node
✔ reads source-map from cache, and applies to coverage (1976ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (950ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (877ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3090ms)
✔ should allow for --all to be used in conjunction with --check-coverage (947ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1771ms)
report
✔ supports reporting on directories outside cwd (175ms)
✔ supports reporting on single directories outside cwd (168ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (316ms)
--extension
✔ includes coverage when extensions specified (799ms)
✔ includes coverage when extensions specified with --all (999ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (741ms)
✔ supports externally set NODE_V8_COVERAGE (722ms)
✔ merges reports from subprocesses together (345ms)
✔ allows relative files to be included (418ms)
✔ exits with 1 when report output fails (714ms)
✔ should allow for files outside of cwd (323ms)
✔ should allow for multiple overrides of src location for --all (349ms)
✔ cobertura report escapes special characters (320ms)
✔ collects coverage for script with shebang (326ms)
check-coverage
✔ exits with 0 if coverage within threshold (210ms)
✔ exits with 1 if coverage is below threshold (234ms)
✔ allows threshold to be applied on per-file basis (256ms)
✔ allows --check-coverage when executing script (792ms)
✔ --100 (742ms)
✔ check-coverage command with --100 (202ms)
report
✔ generates report from existing temporary files (220ms)
✔ supports --check-coverage, when generating reports (287ms)
ESM Modules
✔ collects coverage for ESM modules (301ms)
/* c8 ignore next */
✔ ignores lines with special comment (301ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (286ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (363ms)
source-maps
✔ does not attempt to load source map URLs that aren't (350ms)
TypeScript
✔ remaps branches (353ms)
✔ remaps classes (356ms)
UglifyJS
✔ remaps branches (375ms)
✔ remaps classes (368ms)
nyc
✔ remaps branches (370ms)
✔ remaps classes (366ms)
rollup
✔ remaps branches (368ms)
✔ remaps classes (384ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2442ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (951ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (881ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2865ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1005ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1736ms)
report
✔ supports reporting on directories outside cwd (184ms)
✔ supports reporting on single directories outside cwd (173ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (324ms)
--extension
✔ includes coverage when extensions specified (800ms)
✔ includes coverage when extensions specified with --all (1005ms)
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
✔ c8 process should throw an error message if an invalid configuration file name is passed
✔ config directory should contain all variations of the config file naming convention
✔ 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
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
- 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
--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
120 passing (54s)
17 pending
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.52 | 91.17 | 100 | 97.52 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.28 | 89.62 | 100 | 97.28 |
parse-args.js | 99.26 | 95.65 | 100 | 99.26 | 165-166
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
> c8@9.1.0 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 (828ms)
✔ supports externally set NODE_V8_COVERAGE (737ms)
✔ merges reports from subprocesses together (353ms)
✔ allows relative files to be included (427ms)
✔ exits with 1 when report output fails (392ms)
✔ should allow for files outside of cwd (339ms)
✔ should allow for multiple overrides of src location for --all (402ms)
✔ cobertura report escapes special characters (334ms)
✔ collects coverage for script with shebang (360ms)
check-coverage
✔ exits with 0 if coverage within threshold (258ms)
✔ exits with 1 if coverage is below threshold (281ms)
✔ allows threshold to be applied on per-file basis (308ms)
✔ allows --check-coverage when executing script (851ms)
✔ --100 (810ms)
✔ check-coverage command with --100 (240ms)
report
✔ generates report from existing temporary files (270ms)
✔ supports --check-coverage, when generating reports (298ms)
ESM Modules
✔ collects coverage for ESM modules (382ms)
/* c8 ignore next */
✔ ignores lines with special comment (378ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (345ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (391ms)
source-maps
✔ does not attempt to load source map URLs that aren't (326ms)
TypeScript
✔ remaps branches (370ms)
✔ remaps classes (389ms)
UglifyJS
✔ remaps branches (375ms)
✔ remaps classes (363ms)
nyc
✔ remaps branches (350ms)
✔ remaps classes (380ms)
rollup
✔ remaps branches (352ms)
✔ remaps classes (354ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2533ms)
--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 (900ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2914ms)
✔ should allow for --all to be used in conjunction with --check-coverage (1051ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (2022ms)
report
✔ supports reporting on directories outside cwd (182ms)
✔ supports reporting on single directories outside cwd (172ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (322ms)
--extension
✔ includes coverage when extensions specified (797ms)
✔ includes coverage when extensions specified with --all (1017ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (752ms)
✔ supports externally set NODE_V8_COVERAGE (743ms)
✔ merges reports from subprocesses together (347ms)
✔ allows relative files to be included (418ms)
✔ exits with 1 when report output fails (712ms)
✔ should allow for files outside of cwd (325ms)
✔ should allow for multiple overrides of src location for --all (354ms)
✔ cobertura report escapes special characters (317ms)
✔ collects coverage for script with shebang (329ms)
check-coverage
✔ exits with 0 if coverage within threshold (209ms)
✔ exits with 1 if coverage is below threshold (231ms)
✔ allows threshold to be applied on per-file basis (253ms)
✔ allows --check-coverage when executing script (790ms)
✔ --100 (742ms)
✔ check-coverage command with --100 (206ms)
report
✔ generates report from existing temporary files (221ms)
✔ supports --check-coverage, when generating reports (222ms)
ESM Modules
✔ collects coverage for ESM modules (285ms)
/* c8 ignore next */
✔ ignores lines with special comment (285ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (267ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (326ms)
source-maps
✔ does not attempt to load source map URLs that aren't (304ms)
TypeScript
✔ remaps branches (346ms)
✔ remaps classes (378ms)
UglifyJS
✔ remaps branches (382ms)
✔ remaps classes (391ms)
nyc
✔ remaps branches (378ms)
✔ remaps classes (382ms)
rollup
✔ remaps branches (371ms)
✔ remaps classes (367ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2614ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (969ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (910ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2899ms)
✔ should allow for --all to be used in conjunction with --check-coverage (961ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1796ms)
report
✔ supports reporting on directories outside cwd (174ms)
✔ supports reporting on single directories outside cwd (172ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (322ms)
--extension
✔ includes coverage when extensions specified (800ms)
✔ includes coverage when extensions specified with --all (1004ms)
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
✔ c8 process should throw an error message if an invalid configuration file name is passed
✔ config directory should contain all variations of the config file naming convention
✔ 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
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
- 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
--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
120 passing (53s)
17 pending
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.52 | 91.17 | 100 | 97.52 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.28 | 89.62 | 100 | 97.28 |
parse-args.js | 99.26 | 95.65 | 100 | 99.26 | 165-166
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
> 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=1000000 ./test/*.js
c8
✔ reports coverage for script that exits normally (829ms)
✔ supports externally set NODE_V8_COVERAGE (744ms)
✔ merges reports from subprocesses together (407ms)
✔ allows relative files to be included (455ms)
✔ exits with 1 when report output fails (430ms)
✔ should allow for files outside of cwd (368ms)
✔ should allow for multiple overrides of src location for --all (358ms)
✔ cobertura report escapes special characters (318ms)
✔ collects coverage for script with shebang (336ms)
check-coverage
✔ exits with 0 if coverage within threshold (244ms)
✔ exits with 1 if coverage is below threshold (264ms)
✔ allows threshold to be applied on per-file basis (275ms)
✔ allows --check-coverage when executing script (798ms)
✔ --100 (744ms)
✔ check-coverage command with --100 (206ms)
report
✔ generates report from existing temporary files (219ms)
✔ supports --check-coverage, when generating reports (237ms)
ESM Modules
✔ collects coverage for ESM modules (303ms)
/* c8 ignore next */
✔ ignores lines with special comment (294ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (280ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (318ms)
source-maps
✔ does not attempt to load source map URLs that aren't (305ms)
TypeScript
✔ remaps branches (336ms)
✔ remaps classes (358ms)
UglifyJS
✔ remaps branches (351ms)
✔ remaps classes (373ms)
nyc
✔ remaps branches (359ms)
✔ remaps classes (356ms)
rollup
✔ remaps branches (441ms)
✔ remaps classes (385ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2459ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (939ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (873ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (3413ms)
✔ should allow for --all to be used in conjunction with --check-coverage (917ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1801ms)
report
✔ supports reporting on directories outside cwd (175ms)
✔ supports reporting on single directories outside cwd (198ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (355ms)
--extension
✔ includes coverage when extensions specified (809ms)
✔ includes coverage when extensions specified with --all (1007ms)
c8 mergeAsync
✔ reports coverage for script that exits normally (744ms)
✔ supports externally set NODE_V8_COVERAGE (716ms)
✔ merges reports from subprocesses together (339ms)
✔ allows relative files to be included (406ms)
✔ exits with 1 when report output fails (656ms)
✔ should allow for files outside of cwd (313ms)
✔ should allow for multiple overrides of src location for --all (343ms)
✔ cobertura report escapes special characters (310ms)
✔ collects coverage for script with shebang (326ms)
check-coverage
✔ exits with 0 if coverage within threshold (231ms)
✔ exits with 1 if coverage is below threshold (281ms)
✔ allows threshold to be applied on per-file basis (264ms)
✔ allows --check-coverage when executing script (792ms)
✔ --100 (740ms)
✔ check-coverage command with --100 (203ms)
report
✔ generates report from existing temporary files (216ms)
✔ supports --check-coverage, when generating reports (225ms)
ESM Modules
✔ collects coverage for ESM modules (270ms)
/* c8 ignore next */
✔ ignores lines with special comment (275ms)
✔ does not incorrectly mark previous branch as uncovered (see #254) (258ms)
/* c8 ignore start/stop */
✔ ignores lines with special comment (311ms)
source-maps
✔ does not attempt to load source map URLs that aren't (302ms)
TypeScript
✔ remaps branches (348ms)
✔ remaps classes (367ms)
UglifyJS
✔ remaps branches (347ms)
✔ remaps classes (347ms)
nyc
✔ remaps branches (373ms)
✔ remaps classes (364ms)
rollup
✔ remaps branches (375ms)
✔ remaps classes (379ms)
ts-node
✔ reads source-map from cache, and applies to coverage (2552ms)
--all
✔ reports coverage for unloaded js files as 0 for line, branch and function (986ms)
✔ reports coverage for unloaded transpiled ts files as 0 for line, branch and function (862ms)
✔ reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node (2885ms)
✔ should allow for --all to be used in conjunction with --check-coverage (938ms)
✔ should allow for --all to be used with the check-coverage command (2 invocations) (1766ms)
report
✔ supports reporting on directories outside cwd (175ms)
✔ supports reporting on single directories outside cwd (171ms)
--exclude-after-remap
✔ applies exclude rules after source-maps are applied (325ms)
--extension
✔ includes coverage when extensions specified (795ms)
✔ includes coverage when extensions specified with --all (1010ms)
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
✔ c8 process should throw an error message if an invalid configuration file name is passed
✔ config directory should contain all variations of the config file naming convention
✔ 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
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
- 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
--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
120 passing (52s)
17 pending
--------------------------|---------|----------|---------|---------|--------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------|---------|----------|---------|---------|--------------------------------
All files | 97.52 | 91.17 | 100 | 97.52 |
bin | 95.34 | 100 | 100 | 95.34 |
c8.js | 95.34 | 100 | 100 | 95.34 | 41-42
lib | 97.28 | 89.62 | 100 | 97.28 |
parse-args.js | 99.26 | 95.65 | 100 | 99.26 | 165-166
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment