Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ertrzyiks/react-native-component-test


https://github.com/ertrzyiks/react-native-component-test

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# react-native-component-test [![Build Status](https://travis-ci.org/ertrzyiks/react-native-component-test.svg?branch=master)](https://travis-ci.org/ertrzyiks/react-native-component-test)

Example repository showing how to use [jest](https://facebook.github.io/jest/) to run tests
based on [react-native](https://facebook.github.io/react-native/) components.

## Running
Require at least node 4.0 or higher

* Install node dependencies `npm install`
* Run test suite `npm test`

## Notes

* 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: https://github.com/facebook/jest/issues/340