Skip to content

dariocravero/redux-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create a redux-like store for testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published