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

Add appendHeader to MockResponse #306

Merged
merged 4 commits into from
Sep 9, 2024
Merged

Conversation

bjarkebm
Copy link
Contributor

@bjarkebm bjarkebm commented Sep 9, 2024

Mocking code that uses res.appendHeader currently fails, since it's not part of MockResponse.

appendHeader is part of Node since v18.3.0, v16.17.0

@eugef eugef merged commit 3a87b42 into eugef:master Sep 9, 2024
3 checks passed
@eugef
Copy link
Owner

eugef commented Sep 9, 2024

Hi @bjarkebm,thnaks for your PR.
The changes are released in version 1.16.0

@bjarkebm
Copy link
Contributor Author

bjarkebm commented Sep 9, 2024

Hi @bjarkebm,thnaks for your PR. The changes are released in version 1.16.0

Thanks alot, that was quick 👍

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

Successfully merging this pull request may close these issues.

2 participants