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

fix(jest-environment-node): Add MessageChannel, MessageEvent to globals #12553

Merged
merged 2 commits into from
Mar 7, 2022

Conversation

F3n67u
Copy link
Contributor

@F3n67u F3n67u commented Mar 6, 2022

Summary

Fix #12253

MessageChannel, MessageEvent is available from version 15, see:

Test plan

test locally.

@F3n67u F3n67u force-pushed the node/message-port branch from 967d140 to b425d8d Compare March 6, 2022 14:51
@F3n67u F3n67u changed the title fix(jest-environment-node): Add MessageChannel, MessageEvent and MessagePort to globals fix(jest-environment-node): Add MessageChannel, MessageEvent to globals Mar 6, 2022
Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@SimenB SimenB merged commit f52840d into jestjs:main Mar 7, 2022
@F3n67u F3n67u deleted the node/message-port branch March 7, 2022 09:16
F3n67u added a commit to F3n67u/jest that referenced this pull request Mar 9, 2022
@SimenB
Copy link
Member

SimenB commented Apr 5, 2022

@github-actions
Copy link

github-actions bot commented May 6, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: MessageEvent is not defined even when on Node version > 15
3 participants