Skip to content

Commit

Permalink
test(jest): don't collect code coverage by default
Browse files Browse the repository at this point in the history
Code coverage is mostly a misleading metric, but it also slows Jest down a lot. This change stops it from always being collected.

Refs #388
  • Loading branch information
thewilkybarkid committed Oct 26, 2021
1 parent 620b214 commit ba79ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"lint": "eslint --ignore-path .gitignore ./src/backend",
"test": "jest --coverage",
"test": "jest",
"build": "rimraf dist && npm run build:scripts && npm run build:backend && npm run build:hooks && npm run build:frontend",
"build:dev": "rimraf dist && npm run build:scripts && npm run build:backend:dev && npm run build:hooks && npm run build:frontend:dev",
"build:backend": "parcel build --target=backend --no-optimize src/backend/index.js && npm run build:templates",
Expand Down

0 comments on commit ba79ea2

Please sign in to comment.