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
reqwest promise with Nock #266
Comments
try manual mock the reqwest module to your one. http://facebook.github.io/jest/docs/en/manual-mocks.html#content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried yesterday to use nock for unit testing in a React/Redux/reqwest application and I was unable to make them work together. Later I had to replace reqwest with fecth. The details of the error can be found in the link below. I don't want to give up reqwest though. Do you guys mind to take a look when you have time?
https://stackoverflow.com/questions/45470427/async-callback-was-not-invoked-within-timeout-nock-reqwest
The text was updated successfully, but these errors were encountered: