Need help, encountering MessageEvent issue after Node v.22.2.0 #56495
Unanswered
badams-atlas
asked this question in
General
Replies: 1 comment
-
The issue lies with jsdom. See jsdom/jsdom#3682 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Upgraded my project Node version to use the latest LTS and encountered the following issue when using Broadcast Channels.
The issue disappears for versions prior to v.22.3.0 which lead me to this PR: #52370
Seems like the issue only occurs during automated unit test (using vitest) whereas normal application interaction works as intended, so I'm not sure why the discrepancy unless for some reason vitest nulling on this condition:
fastCreateMessageEvent ??= require('internal/deps/undici/undici').createFastMessageEvent;
This probably a pretty easy fix but I'm fairly novice at Node internals.
Beta Was this translation helpful? Give feedback.
All reactions