Measure JS test coverage for entire js directory.
Add an additional flag to the yarn `test` script.
This commit is contained in:
parent
a4f0b10bbb
commit
e0565e5b9a
@ -7,7 +7,7 @@
|
||||
"watch": "parcel watch js/index.js -d static/assets --public-url /static/assets -o index.js --no-autoinstall",
|
||||
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:coverage": "jest --coverage --collectCoverageFrom='js/**/*.js'",
|
||||
"test:watch": "jest --watch --no-cache"
|
||||
},
|
||||
"author": "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user