Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/securingsincity/react-jest-example

An example of react and jest testing
https://github.com/securingsincity/react-jest-example

Last synced: about 2 months ago
JSON representation

An example of react and jest testing

Awesome Lists containing this project

README

        

React Jest Example
==================

An example of React and Jest testing.

This includes some examples of how things can be nested in React. It also includes examples of how to test each module.

---

To run the sample code

```
npm install
//and then run
gulp
```
Gulp runs all jsx transforms using browserify. It also will load the tests.

---

To run the sample tests

```
npm test
```
Also the tests will run with `gulp test` or through the watch in the default gulp task