We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71ef88 commit 9c87d0bCopy full SHA for 9c87d0b
1 file changed
package.json
@@ -14,7 +14,8 @@
14
"storybook:build": "build-storybook -c storybook",
15
"test": "jest",
16
"test:watch": "jest --watch",
17
- "test:coverage": "jest --coverage"
+ "test:coverage": "jest --coverage",
18
+ "test:staged": "jest --findRelatedTests"
19
},
20
"husky": {
21
"hooks": {
@@ -24,6 +25,7 @@
24
25
"lint-staged": {
26
"*.js": [
27
"npm run format:fix",
28
+ "npm run test:staged",
29
"git add"
30
]
31
0 commit comments