Skip to content

Commit efdd8cb

Browse files
committed
🏗️ (dev): Switch to c8 for test coverage
1 parent 1a28b5c commit efdd8cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"format:fix": "prettier --write .",
5050
"test": "mocha --paths",
5151
"test:addon": "node bin/cli/prebuild.js --environment=test --target=firefox-mv3 && webpack --config bin/webpack.prod.js && npx addons-linter ./dist",
52-
"test:coverage": "nyc --reporter=lcov --reporter=html --reporter=text npm run test",
52+
"test:coverage": "c8 --reporter=lcov --reporter=html --reporter=text --reports-dir=test/coverage --exclude='src/script/vendor/**' --exclude='test/**' npm run test",
5353
"test:debug": "node --inspect-brk node_modules/mocha/bin/_mocha --paths --reporter tap",
5454
"test:full": "npm run lint && npm run format && npm run type-check && npm run test:addon && npm run test:coverage",
5555
"type-check": "tsc --noEmit",

0 commit comments

Comments
 (0)