capricorn86 / happy-dom

A JavaScript implementation of a web browser without its graphical user interface
MIT License
3.28k stars 200 forks source link

`GlobalRegistrator.register()` breaks `ServerResponse.setHeader()` in `bun` #1477

Open maranomynet opened 3 months ago

maranomynet commented 3 months ago

I am not sure if this is a @happy-dom/global-registrator problem or a bun problem.

For description and reproduction steps, see: https://github.com/oven-sh/bun/issues/8852

This issue appears when I run happy-dom's GlobalRegistrator (v14.12.3) as described in Bun's documentation: https://bun.sh/guides/test/happy-dom