redux-test

1.0.0 • Public • Published

redux-test

Build Status

Create a redux-like store for testing

import createTestStore from 'redux-test';

const store = createTestStore({some: 'state'});
store.dispatch() // => call sinon spy
store.getState() // => call sinon stub and return {some: 'state'}
store.subscribe() // => call sinon spy

MIT license

Readme

Keywords

Package Sidebar

Install

npm i redux-test

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dariocravero