-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thunk middleware not working when using mock store in a shallow rendered component #160
Comments
I experience the same. When testing my action with jest. |
I'm getting a similiar error with jest testing of mockStore
|
Got into the same issue, for me solution was to follow Bottom line, to add thunk when configuring mock store for tests. |
I'm having an issue with the thunk middleware not working when I use the mock store through enzyme
example:
And I'm setting up the mock store like this:
the register action creator is fired when the form is submitted which should work while configuring the store with the thunk middleware, but I get this error:
Any idea what the problem is?
The text was updated successfully, but these errors were encountered: