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
Being able to check the headers of a request
Right now we are using expect(global.fetch).toHaveBeenCalledWith(..., what make the usage kind of tricky.
expect(global.fetch).toHaveBeenCalledWith(...
By moving this to burrito we will provide a simple Api for checking the headers.
In addition I think is a feature that any burrito user will expect to be able to use.
In my head it should be part of the function toHaveBeenFetchedWith. For example, something like this:
The text was updated successfully, but these errors were encountered:
WIP on this branch 👉 https://github.com/mercadona/wrapito/tree/added-issue-94
Sorry, something went wrong.
alextorres94
No branches or pull requests
✨ Feature proposal
Being able to check the headers of a request
🎯 Motivation
Right now we are using
expect(global.fetch).toHaveBeenCalledWith(...
, what make the usage kind of tricky.By moving this to burrito we will provide a simple Api for checking the headers.
In addition I think is a feature that any burrito user will expect to be able to use.
👀 Example
In my head it should be part of the function toHaveBeenFetchedWith. For example, something like this:
💬 Comments
The text was updated successfully, but these errors were encountered: