-
-
Couldn't load subscription status.
- Fork 260
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
On the global scope, PromiseRejectionEvent is available (see MDN).
But when I run this code:
import { Window } from "happy-dom";
const window = new Window();
console.log(window.PromiseRejectionEvent); // => undefined
This poses an issue for tests running in Jest with @happy-dom/jest-environment.
Describe the solution you'd like
Implement this globally.
Describe alternatives you've considered
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request