Skip to content

Commit 1d50c92

Browse files
committed
Add clover
1 parent 620ace3 commit 1d50c92

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.nycrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
],
99
"reporter": [
1010
"text",
11-
"lcov"
11+
"lcov",
12+
"clover"
1213
],
1314
"check-coverage": true,
1415
"watermarks": {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"lint": "eslint src/*.js --config .eslintrc",
4646
"lint:report": "eslint src/*.js --config .eslintrc -f json -o report.json",
4747
"lint:fix": "eslint src/*.js --config .eslintrc --fix",
48-
"test": "c8 --reporter=lcov --reporter=text node --test test/",
48+
"test": "c8 node --test test/",
4949
"example": "node -r esm example/node.js",
5050
"cpd": "node_modules/jscpd/bin/jscpd src",
5151
"vulnerabilities": "npm audit --only=prod"

0 commit comments

Comments
 (0)