https://github.com/deecewan/react-testing-demo
https://github.com/deecewan/react-testing-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deecewan/react-testing-demo
- Owner: deecewan
- Created: 2017-02-02T14:25:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T23:02:55.000Z (over 9 years ago)
- Last Synced: 2025-01-26T14:49:02.521Z (over 1 year ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)