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:
parent
7c7d5b49db
commit
01f588d54d
@ -8,7 +8,7 @@
|
|||||||
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
|
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:coverage": "jest --coverage",
|
"test:coverage": "jest --coverage",
|
||||||
"test:watch": "jest --watch"
|
"test:watch": "jest --watch --no-cache"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user