Skip to content

jackfranklin/testing-react-with-jest

Repository files navigation

testing-react-with-jest

A repository written for a blog post about testing React with Jest.

Running locally

  • git clone this repo
  • cd testing-react-with-jest
  • npm install
  • In one tab, run npm run watch. This will fire up Webpack and rebuild your app on each change.
  • In another tab, run npm start. This will fire up a local server that will refresh automatically when the code changes.
  • open http://localhost:8081 to view to the app.

Tests

Run npm test to run the tests with Jest.

Run npm test -- --watch to run Jest and have it automatically rerun everytime you change a file.

Problems / Questions

Please feel free to raise an issue if you have any Qs :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published