-
Notifications
You must be signed in to change notification settings - Fork 177
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
Mockery doesn't work as expected #70
Comments
You need to import |
I realized the issue, and trying to figure out a solution. |
I'm also having the Problem, that fetchMock does not actually mock away my request, and requests are running against real url. |
try |
Great! I then first ran into #60 but with adding |
I setup the
mockery
andfetch-mock
as following code:And during the test, I found the request doesn't get mocked as expected, all request hit the real server and
fetchMock.called()
returns falseDid I missed something or what should I do?!?!
The text was updated successfully, but these errors were encountered: