Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.