Skip to content

Example of unit testing a React Native & Redux app using Jest (and Snapshots!)

Notifications You must be signed in to change notification settings

sharanagouda/react-native-unit-testing

Repository files navigation

react-native-unit-testing

Example of unit testing a React Native & Redux app using Jest (and Snapshots!)

Try it out!

Install dependencies:

$ npm install

Run tests:

$ npm test

You can also run them in watch mode:

$ npm test -- --watch

In this mode, you can play changing the app behaviour, breaking the tests and fixing them!