# Add Jest This recipe helps you setup Jest in your Gatsby site to test components and utilities. This recipe: --- Installs the `jest` package. --- Adds some jest test files for you to play with. --- Adds a `test` & `test:watch` scripts to your `package.json`. --- Once you've installed this recipe, try running `npm run test` and jest will run your test. And, while writing tests, you can run `npm run test:watch` and tests will re-run as you edit them.