jest-react-redux
v1.0.4 jest react redux react-redux snapshot test testing unit unit-test and 2 more...
jest-react-redux
Makes snapshot testing of react-redux (e.g. mapStateToProps or mapDispatchToProps) glue-code easy as pie.
Installation
To install the latest stable version:
yarn add --dev jest-react-redux
Features
- Automatically mocks impure function usages (selectors) within
mapStateToProps
. - Creates easily readable results which you can use with Jests snapshot feature.
- Creates less headaches while writing good tests for your
react-redux
glue-code.
Documentation
Contributing
See the CONTRIBUTING.md
file at the root of the repository.
Licensing
See the LICENSE
file at the root of the repository.
npm i jest-react-redux
Metadata
- MIT
- >=8.11.4
- Immonet dev team
- released 9/13/2018