Skip to content

Commit

Permalink
test: replace nyc with c8 (#356)
Browse files Browse the repository at this point in the history
* test: replace nyc with c8
* Rename .nycrc.json to .c8rc.json
  • Loading branch information
uiolee authored Aug 31, 2023
1 parent 7dda4e5 commit d090bd2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"all": "true"
}
2 changes: 0 additions & 2 deletions .nycrc.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint": "eslint lib test",
"pretest": "npm run clean && npm run build",
"test": "mocha --require ts-node/register",
"test-cov": "nyc --reporter=lcovonly npm run test",
"test-cov": "c8 --reporter=lcovonly npm run test",
"build:highlight": "node scripts/build_highlight_alias.js",
"postinstall": "npm run build:highlight"
},
Expand All @@ -39,14 +39,14 @@
"@types/prismjs": "^1.26.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"c8": "^8.0.1",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.23.0",
"eslint-config-hexo": "^5.0.0",
"html-entities": "^2.3.3",
"html-tag-validator": "^1.6.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"rewire": "^6.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
Expand Down

0 comments on commit d090bd2

Please sign in to comment.