Run tests in watch mode without cache

Running in watch mode was not printing out console.log.
https://github.com/facebook/jest/issues/2441 suggests setting --no-cache
and that fixed it.
This commit is contained in:
Patrick Smith 2018-11-27 15:42:33 -05:00
parent 7c7d5b49db
commit 01f588d54d

View File

@ -8,7 +8,7 @@
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
"test:watch": "jest --watch --no-cache"
},
"author": "",
"license": "MIT",