👷♂️ Patch fixes
- Jest was using
setTimeout
from Happy DOM internally for detecting when a test times out. This causedWindow.happyDOM.whenAsyncComplete()
andWindow.happyDOM.cancelAsync()
to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "@happy-dom/jest-environment" until Jest has solved it. (#1057)