You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the environment could detect pending timers or flush (until timeout) when torn down.
This could be achieved with something like await this.global.happyDOM.waitUntilComplete() in the teardown.
The following tests will not show any error when using happy-dom environment:
It would be nice if the environment could detect pending timers or flush (until timeout) when torn down.
This could be achieved with something like
await this.global.happyDOM.waitUntilComplete()
in the teardown.I'll be happy to help with a PR.
Cf. jestjs/jest#14984
The text was updated successfully, but these errors were encountered: