Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/immoweltgroup/jest-react-redux
Makes snapshot testing of react-redux (e.g. mapStateToProps or mapDispatchToProps) glue-code easy as pie.
https://github.com/immoweltgroup/jest-react-redux
jest mapdispatchtoprops snapshot-testing
Last synced: 3 months ago
JSON representation
Makes snapshot testing of react-redux (e.g. mapStateToProps or mapDispatchToProps) glue-code easy as pie.
- Host: GitHub
- URL: https://github.com/immoweltgroup/jest-react-redux
- Owner: ImmoweltGroup
- License: mit
- Created: 2017-10-24T13:48:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-08T06:10:44.000Z (over 1 year ago)
- Last Synced: 2024-09-21T22:18:56.966Z (5 months ago)
- Topics: jest, mapdispatchtoprops, snapshot-testing
- Language: JavaScript
- Homepage: https://immoweltgroup.gitbooks.io/jest-react-redux/
- Size: 444 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# jest-react-redux
[![Powered by Immowelt](https://img.shields.io/badge/powered%20by-immowelt-yellow.svg?colorB=ffb200)](https://stackshare.io/immowelt-group/)
[![Build Status](https://travis-ci.org/ImmoweltGroup/jest-react-redux.svg?branch=master)](https://travis-ci.org/ImmoweltGroup/jest-react-redux)
[![Dependency Status](https://david-dm.org/ImmoweltGroup/jest-react-redux.svg)](https://david-dm.org/ImmoweltGroup/jest-react-redux)
[![devDependency Status](https://david-dm.org/ImmoweltGroup/jest-react-redux/dev-status.svg)](https://david-dm.org/ImmoweltGroup/jest-react-redux#info=devDependencies&view=table)
[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/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:
```sh
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
* [Introduction](/docs/introduction/README.md)
* [API](/docs/api/README.md)## Contributing
See the `CONTRIBUTING.md` file at the root of the repository.
## Licensing
See the `LICENSE` file at the root of the repository.