Skip to content

Commit

Permalink
test: use c8 instead of nyc
Browse files Browse the repository at this point in the history
* nyc does not yet support ESM istanbuljs/nyc#1287
  • Loading branch information
yoshinorin committed Jun 15, 2022
1 parent 5f35cc7 commit 6ea50e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"eslint": "eslint lib test",
"test": "mocha",
"test-cov": "nyc --reporter=lcovonly npm run test",
"test-cov": "c8 --reporter=lcovonly npm run test",
"jsdoc": "jsdoc --configure .jsdoc.json"
},
"repository": "hexojs/warehouse",
Expand All @@ -37,6 +37,7 @@
"@babel/core": "^7.18.5",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-syntax-import-assertions": "^7.17.12",
"c8": "^7.11.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.17.0",
Expand All @@ -45,7 +46,6 @@
"lodash": "^4.17.15",
"minami": "^1.1.1",
"mocha": "^10.0.0",
"nyc": "^15.0.0",
"sinon": "^14.0.0"
},
"engines": {
Expand Down

0 comments on commit 6ea50e4

Please sign in to comment.