Skip to content

Commit 3d17cfe

Browse files
committed
fix: update also check-coverage
1 parent 7b805f1 commit 3d17cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"report-coverage": "cat ./coverage/lcov.info | coveralls",
2525
"prebuild": "rimraf dist",
2626
"commit": "git-cz",
27-
"check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
27+
"check-coverage": "c8 check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
2828
"watch:test": "npm t -- -w",
2929
"test": "find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js",
3030
"test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js",
@@ -85,7 +85,7 @@
8585
"pre-commit": "npm run build && npm run cover && npm run check-coverage"
8686
}
8787
},
88-
"nyc": {
88+
"c8": {
8989
"include": [
9090
"dist/**/*.js",
9191
"src/**/*.ts"

0 commit comments

Comments
 (0)