Skip to content

Commit 35b8c38

Browse files
committed
feat: run test in pre-commit
1 parent 651f07f commit 35b8c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"vue-template-compiler": "^2.6.11"
4949
},
5050
"gitHooks": {
51-
"pre-commit": "lint-staged"
51+
"pre-commit": "lint-staged && yarn test"
5252
},
5353
"lint-staged": {
5454
"*.{js,jsx,vue}": [

0 commit comments

Comments
 (0)