Skip to content

Enzyme, React Component Snapshots, Redux: Reducers & Actions testing (npm Redux-Mock-Store) Review

Notifications You must be signed in to change notification settings

DavidKHahn/React-Enzyme-CRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To get started with enzyme, you can simply install it via npm. You will need to install enzyme along with an Adapter corresponding to the version of react (or other UI Component library) you are using. For instance, if you are using enzyme with React 16, you can run:

npm i --save-dev enzyme enzyme-adapter-react-16

Each adapter may have additional peer dependencies which you will need to install as well. For instance, enzyme-adapter-react-16 has peer dependencies on react and react-dom.

Source: https://github.com/airbnb/enzyme

USEFUL LINKS:

About

Enzyme, React Component Snapshots, Redux: Reducers & Actions testing (npm Redux-Mock-Store) Review

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published