Skip to content

fix: support happy-dom environment#1230

Merged
pi0 merged 1 commit intomainfrom
fix/frozen-headers-happydom
Oct 25, 2025
Merged

fix: support happy-dom environment#1230
pi0 merged 1 commit intomainfrom
fix/frozen-headers-happydom

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Oct 25, 2025

This PR fixes issue introduced by #1227 when running within happy-dom testing envionment.

HappyDom overrides global native Headers with a custom impl that causes side-effects in consturctor (src)

@pi0 pi0 changed the title fix: support happydom environment fix: support happy-dom environment Oct 25, 2025
@pi0 pi0 merged commit 66b4cbe into main Oct 25, 2025
5 checks passed
@pi0 pi0 deleted the fix/frozen-headers-happydom branch October 25, 2025 12:53
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.

1 participant