React Native Testing Example

This is the example repo for:

  1. Unit testing React Native with the *new* Jest (I) — Snapshots come into play!
  2. 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!

React Native Testing Example

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

React Native Testing Example Info

⭐ Stars 163
🔗 Source Code
🕒 Last Update 10 months ago
🕒 Created 6 years ago
🐞 Open Issues 3
➗ Star-Issue Ratio 54
😎 Author ferrannp