redux-mock-store icon indicating copy to clipboard operation
redux-mock-store copied to clipboard

A mock store for testing Redux async action creators and middleware.

Results 26 redux-mock-store issues
Sort by recently updated
recently updated
newest added

Hi, so I am having an issue that's a variant of #71 , and I understand that `getState` returns the same state based on @dmitry-zaets explanation that the library is...

Hi there, I get this warning from redux introduced in https://github.com/reactjs/redux/pull/1075 on my app with production build. I've included redux-mock-store by accident in production build. It seems that during your...

**Do you want to request a *feature* or report a *bug*?** A bug I think, but not sure if it's `redux-observable` or `redux-mock-store` who has the wrong behavior. So I...

It seems from the [latest redux testing documentation](https://redux.js.org/usage/writing-tests#setting-up-a-reusable-test-render-function) that mocking the store is no longer recommended: > Prefer writing integration tests with everything working together. For a React app using...

package.json "@testing-library/dom": "10.1.0", "@testing-library/jest-dom": "6.4.5", "@testing-library/react": "15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "14.5.2", "redux-mock-store": "^1.5.4", Error ● Test suite failed to run TypeError: middleware is not a function 10 | 11 |...

This library only help for getting in call or not spesific action, but not for read actual state. I want test middleware, but reading state return old state.