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!
$ npm install
$ 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!