/RNUnitTests

React Native unit testing

Primary LanguageJavaScript

RNUnitTests

A React Native project containing examples of how to test RN component code, both a rendered output and plain JS functions.

The code is mainly based on the movies app from RN's official docs. More explaination here: Unit Testing React Native Components

Running the tests

git clone git@github.com:hosainnet/RNUnitTests.git`
cd RNUnitTests
npm install
npm test