-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problems I've encountered #4
Comments
I'm honestly not too familiar with this project, I mostly just adjusted it to work with vitest. I'd be happy to review a pull request though if you or someone else can solve the issues. You could check if https://github.com/jefflau/jest-fetch-mock has the issues as well, and maybe an issue is open there? |
Just started looking into this package so bare with me here: @leonheess I believe the issue here is that you can configure Jest to be smart enough that you can use I don't believe such an option exists on Vitest's config currently so for now you if you use |
First of all, thank you so much for writing this, it is amazing. However, I'm having trouble getting it to work exactly how I want. Here are some of the Issues:
Promise.reject
insidemockResponse
does not result in a failed request it just returns the content butres.ok
is still trueThe text was updated successfully, but these errors were encountered: