Skip to content

Commit 4669f68

Browse files
committed
Ensure proper test-coverage
1 parent 8cab38f commit 4669f68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
"*.{html,json,md,yaml,yml}": ["prettier --write"],
1313
"*.{js,ts}": [
1414
() => "yarn run typecheck",
15-
"jest --bail --findRelatedTests",
15+
"jest --coverage --bail --findRelatedTests",
1616
/**
1717
* @param {string[]} files
1818
*/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"format": "prettier --write .",
2929
"lint": "eslint --cache --ext .js,.ts --fix --format codeframe .",
3030
"release": "np",
31-
"test": "jest",
31+
"test": "jest --coverage",
3232
"typecheck": "tsc --project tsconfig.json",
3333
"prepublish": "yarn run clean && yarn run build",
3434
"postpublish": "pinst --enable",

0 commit comments

Comments
 (0)