The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Use Jest's Interactive Watch Mode

Use Jest's Interactive Watch Mode

3:17
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.
Watch this lesson now
Avatar
egghead.io

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.

Avatar
Eric Fields

Can you share how you mapped global jest to your local node_modules/jest/bin/jest.js?

Avatar
Gar

Adding this to the package.json works for me.

"watch": "jest --watch"

npm run watch

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?