redux-mock-store
redux-mock-store copied to clipboard
A mock store for testing Redux async action creators and middleware.
I tried to install this library from `NPM` and it's not supporting ES Modules, I checked the `package.json` from this repository and seems like there's a configuration to cover different...
Hi coders! I would like to test my middleware and in my case I use it to check if an input field value has correct pattern to display an error...
Here is my example  I am try to require and run this module but have error: **TypeError: configureStore is not a function** With...
Sometimes we need to get store after use actions. Actually it's useful for testing containers. I found method `replaceReducer`, but it's not worked. Method `replaceReducer` do nothing ``` replaceReducer (nextReducer)...
It's useful among subscribers to know which action is being dispatched. This PR provides the action object to subscribed functions.
I mean, it could be that you are _indeed_ exporting both, but it'd be a lot less confusing if you exported one instead and the documentation reflected that. import {...
I've republished v1.4.0 as v1.5.3 in order to fix issues caused by breaking changes. The next step would be to test the new version, ensure that it works in all...
If I load you async example into a project, i get the following error on `return store.dispatch(fetchData())` ``` Argument of type '(dispatch: any) => Promise' is not assignable to parameter...
I want to know if there is a way to configure jest and enzyme tests to contain a react store? I'm aware that there is a way to configure a...
dispatching a call after a component unmounts, using mock-store and getting a `Cannot read property 'enqueueForceUpdate' of undefined`