Skip to content

A mock store for your testing your redux async action creators and middleware

License

Notifications You must be signed in to change notification settings

ohtangza/redux-mock-store

 
 

Repository files navigation

redux-mock-store Circle CI

npm

A mock store for testing your redux async action creators and middleware. The mock store will create an array of dispatched actions which serve as an action log for tests.

Please note that this library is designed to test the action-related logic, not the reducer-related one. In other words, it does not update Redux store. If you want a complex test combining action and reducer together, take a look at other libraries (e.g., redux-actions-assertions). Refer issue #71 for more detail.

Install

npm install redux-mock-store --save-dev

Documentation

You can see the latest documentation here.

Old version (< 1.x.x)

https://github.com/arnaudbenard/redux-mock-store/blob/v0.0.6/README.md

License

The MIT License

About

A mock store for your testing your redux async action creators and middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%