# redux-jest

> Write Redux test with Jest

Latest version **1.1.1** (published 2016-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-jest
pnpm add redux-jest
yarn add redux-jest
bun add redux-jest
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2016-09-07 |
| First published | 2016-09-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Roilan Salinas |
| Maintainers | roilan |
| Keywords | redux, jest, test, react |

## Links

- npm: https://www.npmjs.com/package/redux-jest
- Repository: https://github.com/Roilan/redux-jest
- Homepage: https://github.com/Roilan/redux-jest#readme
- Issues: https://github.com/Roilan/redux-jest/issues
- npm.io page: https://npm.io/package/redux-jest

## Dependencies (2)

- [deep-freeze](https://npm.io/package/deep-freeze.md) 0.0.1
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.11.6

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-09-07
- 1.1.0 — 2016-09-07
- 1.0.1 — 2016-09-02
- 1.0.0 — 2016-09-02

## README

# redux-jest

Write Redux test with Jest

## Installation

```sh
npm install redux-jest --save
```

## API

### actionTest(description, actionCreator, data, type)


### reducerTest(description, reducer, stateBefore, action, stateAfter)

### asyncReducerTest(description, reducer, stateBefore, asyncAction, stateAfter)


## Example tests
This is an Jest port of [redux-ava](https://github.com/sotojuan/redux-ava). For more documentation, check there.

```sh
npm install
npm test
```

## Dependencies

- [deep-freeze](https://github.com/substack/deep-freeze): recursively Object.freeze() objects and functions

## Dev Dependencies

- [jest-cli](https://github.com/facebook/jest): Painless JavaScript Unit Testing.
- [miclint](https://github.com/micnews/miclint): mic lint cli
- [snazzy](https://github.com/feross/snazzy): Format JavaScript Standard Style as Stylish (i.e. snazzy) output


## License

MIT

_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_

---
_Source: https://npm.io/package/redux-jest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
