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

🐛 BUG: Responses from fetchMock do not have immutable headers #7468

Closed
tyler-goodwin opened this issue Dec 6, 2024 · 0 comments · Fixed by #8254
Closed

🐛 BUG: Responses from fetchMock do not have immutable headers #7468

tyler-goodwin opened this issue Dec 6, 2024 · 0 comments · Fixed by #8254
Labels
bug Something that isn't working vitest Relating to the Workers Vitest integration

Comments

@tyler-goodwin
Copy link

Which Cloudflare product(s) does this pertain to?

Workers Vitest Integration

What version(s) of the tool(s) are you using?

0.5.2 [Vitest Pool Workers], 2.0.5 [vitest], 3.60.3 [wrangler]

What version of Node are you using?

20.12.0

What operating system and version are you using?

Mac OS 15.1.1

Describe the Bug

Observed behavior

Responses from fetchMock do not have immutable headers like when running in the workers runtime for a deployed worker

Expected behavior

Responses from fetchMock should have immutable headers

Steps to reproduce

Run npm test in repro repo

Please provide a link to a minimal reproduction

https://github.com/tyler-goodwin/immutable-headers-repro/tree/main

Please provide any relevant error logs

No response

@tyler-goodwin tyler-goodwin added the bug Something that isn't working label Dec 6, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Dec 6, 2024
@vicb vicb changed the title 🐛 BUG: 🐛 BUG: Responses from fetchMock do not have immutable headers Dec 6, 2024
@penalosa penalosa moved this from Untriaged to Backlog in workers-sdk Dec 9, 2024
@penalosa penalosa added the vitest Relating to the Workers Vitest integration label Dec 9, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in workers-sdk Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working vitest Relating to the Workers Vitest integration
Projects
Status: Done
2 participants