Example repository showing how to use jest to run tests based on react-native components.
Use node 3.3.0(iojs) 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