Skip to content

HANICA-DWA/jest-test-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jest Test React

Here you will find a very very small application with some tests using the Test Renderer by facebook itself and using airbnb's Enzyme.

The tests can be found in the folder: src/tests

How to run the tests?

git clone git@github.com:HANICA-DWA/jest-test-react.git
cd jest-test-react
npm install
npm t

What is in this repo?

  • two examples with plain components
  • two examples with root component, one with and one without the reducer connected
  • example with a reducer
  • example with an async action

About

Test react components in jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors