Jest ships with a pretty amazing interactive watch mode which you can initiate with jest --watch
. Let's learn about the bits of interactivity and how this can really improve your workflow.
Can you share how you mapped global jest
to your local node_modules/jest/bin/jest.js
?
Hey Eric, I answered you here: https://github.com/kentcdodds/ama/issues/230
Adding this to the package.json works for me.
"watch": "jest --watch"
npm run watch