Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomEvent is missing detail #10

Closed
capricorn86 opened this issue Oct 17, 2019 · 0 comments
Closed

CustomEvent is missing detail #10

capricorn86 opened this issue Oct 17, 2019 · 0 comments
Assignees

Comments

@capricorn86
Copy link
Owner

For some weird reason CustomEvent is the same object as Event, but looking at the code they are different. CustomEvent has detail in it and extends Event.

This was found in jest-environment-happy-dom, so it might not happen when only using happy-dom.

@capricorn86 capricorn86 self-assigned this Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant