Skip to content

Commit

Permalink
Collect coverage only in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Oct 17, 2024
1 parent 76132d7 commit b77a275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"ci-test": "NODE_OPTIONS=--experimental-vm-modules npx jest --coverage",
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
Expand Down Expand Up @@ -71,7 +71,6 @@
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
Expand Down

0 comments on commit b77a275

Please sign in to comment.