This project is a showcase of the bug reported to Happy Dom, capricorn86/happy-dom#1097, and it include a possible workaround.
Steps to use the repository:
- Install all dependencies
- Launch
npm run test
to see the test failing. - Launch
npm run test:workaround
to see the test passing using a workaround.