Skip to content
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

Being able to check the headers of a request #94

Open
SalvaCarsi opened this issue Jul 21, 2021 · 1 comment
Open

Being able to check the headers of a request #94

SalvaCarsi opened this issue Jul 21, 2021 · 1 comment
Assignees

Comments

@SalvaCarsi
Copy link
Contributor

✨ 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:

Screen Shot 2021-07-21 at 14 00 00

💬 Comments

@alextorres94
Copy link
Contributor

WIP on this branch 👉 https://github.com/mercadona/wrapito/tree/added-issue-94

@alextorres94 alextorres94 self-assigned this Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants