Skip to content

Commit

Permalink
test: replace nyc with c8
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang authored Oct 31, 2022
2 parents 4fa4d55 + b01fffd commit b85d72b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_modules/
tmp/
*.log
.idea/
.nyc_output/
coverage
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "nyc --reporter=lcovonly npm run test"
"test-cov": "c8 --reporter=lcovonly npm run test"
},
"directories": {
"lib": "./lib"
Expand All @@ -30,10 +30,10 @@
"sprintf-js": "^1.1.2"
},
"devDependencies": {
"c8": "^7.12.0",
"chai": "^4.3.4",
"eslint": "^8.6.0",
"eslint-config-hexo": "^5.0.0",
"mocha": "^9.2.0",
"nyc": "^15.1.0"
"mocha": "^9.2.0"
}
}

0 comments on commit b85d72b

Please sign in to comment.