Measure JS test coverage for entire js directory.

Add an additional flag to the yarn `test` script.
This commit is contained in:
dandds 2019-09-25 09:58:09 -04:00
parent a4f0b10bbb
commit e0565e5b9a

View File

@ -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": "",