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

https://github.com/deecewan/react-testing-demo


https://github.com/deecewan/react-testing-demo

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Testing React Components

Like most modern JS projects, there is a *lot* of boilerplate, and a lot of packages required to get started.

The packages required are:

- babel-core
- babel-jest
- babel-polyfill
- babel-preset-latest ---| these two are just
- babel-preset-stage-0 ---| my personal preference
- babel-preset-react
- enzyme
- jest
- react
- react-dom
- react-addons-test-utils
- react-test-renderer

You can see the presentation associated with this demo (which is mostly just about how I got to this place) on [speakerdeck](https://speakerdeck.com/deecewan/how-i-test-react)