Testing React Native Apps

Testing React Native Apps

At Facebook, we use Jest to test React Native applications.

Get a deeper insight into testing a working example React Native app reading the following series: Part 1: Jest – Snapshot come into play and Part 2: Jest – Redux Snapshots for your Actions and Reducers.

Setup

Starting from react-native version 0.38, a Jest setup is included by default when running react-native init. The following