We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
can-fixture currently only intercepts XHR requests. It would be nice if it also supports the fetch API.
The text was updated successfully, but these errors were encountered:
Something like https://github.com/werk85/fetch-intercept might help us implement this easily.
Sorry, something went wrong.
Looking at the code it appears that that library doesn't prevent the request from occurring. I think it's for modifying requests/responses, as a sort of aspect-oriented programming mechanism. But the fetch still occurs. https://github.com/werk85/fetch-intercept/blob/2786b54e83afa6b5bc1cf6ba2eb31fb5b32d7526/src/attach.js#L20
No branches or pull requests
can-fixture currently only intercepts XHR requests.
It would be nice if it also supports the fetch API.
The text was updated successfully, but these errors were encountered: