npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

jest-react-redux

1.0.4 • Public • Published

jest-react-redux

Powered by Immowelt Build Status Dependency Status devDependency Status Renovate enabled semantic-release

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.

install

npm i jest-react-redux

Downloadsweekly downloads

62

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability