Skip to content

Commit 58197f3

Browse files
committed
Use c8 for code coverage
1 parent da74ba6 commit 58197f3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node_modules
22
yarn.lock
3-
.nyc_output
43
coverage

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"node": ">=10.18.0 <11 || >=12.14.0 <13 || >=14"
99
},
1010
"scripts": {
11-
"test": "xo && nyc ava",
11+
"test": "xo && c8 ava",
1212
"integration": "node ./test/integration/test.js"
1313
},
1414
"files": [
@@ -42,6 +42,7 @@
4242
"devDependencies": {
4343
"ava": "^2.3.0",
4444
"babel-eslint": "^10.0.2",
45+
"c8": "^7.2.0",
4546
"chalk": "^4.1.0",
4647
"del": "^5.0.0",
4748
"eslint": "6.2.0",
@@ -50,7 +51,6 @@
5051
"execa": "^4.0.2",
5152
"js-combinatorics": "^0.5.4",
5253
"listr": "^0.14.3",
53-
"nyc": "^15.1.0",
5454
"outdent": "^0.7.0",
5555
"pify": "^5.0.0",
5656
"tempy": "^0.5.0",
@@ -84,7 +84,7 @@
8484
"ava/no-ignored-test-files": "off"
8585
}
8686
},
87-
"nyc": {
87+
"c8": {
8888
"reporter": [
8989
"html",
9090
"lcov",

0 commit comments

Comments
 (0)