React Native Testing Example
This is the example repo for:
- Unit testing React Native with the *new* Jest (I) β Snapshots come into play!
- Unit testing React Native with the *new* Jest (II) β Redux: Snapshots for your actions and reducers
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!