Skip to content

Commit 3595346

Browse files
committed
coverage flag added to jest, watch mode support
1 parent 3e94c43 commit 3595346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "webpack ---config ./config/webpack.prod.config.js",
88
"dev": "webpack-dev-server --config ./config/webpack.dev.config.js",
99
"lint": "./node_modules/.bin/eslint --ext .js,.jsx src/",
10-
"test": "jest"
10+
"test": "jest --collect-coverage",
11+
"test:watch": "jest --watch"
1112
},
1213
"keywords": [
1314
"react",

0 commit comments

Comments
 (0)