-
Notifications
You must be signed in to change notification settings - Fork 146
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
Issue with the getState mock #156
Comments
You can initialize the state to whatever you want, so there is no need to rewrite or override the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 for testing the actions, but I have the two following files:HttpClient-test.js
HttpClient.js
and the test is failing because the
store.getState().global.cookie
isnull
. How would I be able to test this without attempting to override thegetState
function?The text was updated successfully, but these errors were encountered: