Example repository showing how to use jest to run tests based on react-native components.
Require at least node 4.0 or higher
- Install node dependencies
npm install
- Run test suite
npm test
- example use custom jasmine matcher as described here: https://jamesfriend.com.au/better-assertions-shallow-rendered-react-components
- jest fixed to version 0.5.4 because of: jestjs/jest#340