Skip to content

Commit a25e798

Browse files
committed
Update converage script style.
1 parent 508ff1c commit a25e798

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"test-node-cjs": "cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.cjs tests/*.spec.cjs",
2525
"test-karma": "karma start karma.conf.cjs",
2626
"test-watch": "cross-env NODE_ENV=test mocha --watch --parallel --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.js tests/*.spec.js",
27-
"coverage": "cross-env NODE_ENV=test c8 --reporter=lcov --reporter=text-summary npm run test-node",
28-
"coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly npm run test-node",
27+
"coverage": "cross-env NODE_ENV=test c8 npm run test-node",
28+
"coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node",
2929
"coverage-report": "c8 report",
3030
"lint": "eslint --ignore-pattern rollup.config.js ."
3131
},
@@ -84,9 +84,10 @@
8484
"node": ">=14.0"
8585
},
8686
"c8": {
87-
"exclude": [
88-
"tests",
89-
"node_modules"
87+
"reporter": [
88+
"lcov",
89+
"text-summary",
90+
"text"
9091
]
9192
}
9293
}

0 commit comments

Comments
 (0)