A solid test setup for React components with Mocha, Chai, Sinon, Enzyme and Jest in a Webpack/Babel/React application.
Read more about it: React Testing Tutorial: Test Frameworks & Component Tests
- React 16
- Webpack 3
- Babel
- Staging ES Next Features
- Hot Module Replacement
- Testing
- Mocha
- Chai
- Enzyme
- Sinon
- Jest
- Unit/Integratio Test (Chai, Enzyme) Watcher
- Snapshot Test (Jest) Watcher
- Travis CI
- Coveralls.io
git clone [email protected]:rwieruch/react-components-test-setup.git
- cd react-components-test-setup
- npm install
- npm start
- visit
http://localhost:8080/