Skip to content

Commit e90a5ca

Browse files
nyc: Switch config from JSON to YAML and move args from package.json (#1851)
1 parent d69c533 commit e90a5ca

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.nycrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.nycrc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include:
2+
- "src/"
3+
exclude:
4+
- "src/polyfills"
5+
clean: true
6+
temp-directory: "coverage"
7+
skip-full: true
8+
reporter: [json, html, text]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"test": "npm run lint && npm run check && npm run testonly",
2727
"test:ci": "npm run lint -- --no-cache && npm run check && npm run testonly:cover",
2828
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
29-
"testonly:cover": "nyc --clean --skip-full --reporter json --reporter html --reporter text -- npm run testonly",
29+
"testonly:cover": "nyc npm run testonly",
3030
"lint": "eslint --cache --report-unused-disable-directives src",
3131
"benchmark": "node ./resources/benchmark.js",
3232
"prettier": "prettier --write --list-different 'src/**/*.js'",

0 commit comments

Comments
 (0)