fix(ext/node): MessagePort works (#22999)

Closes https://github.com/denoland/deno/issues/22951
Closes https://github.com/denoland/deno/issues/23001

Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
Satya Rohith 2024-04-02 17:06:09 +05:30 committed by GitHub
parent 7ad76fd453
commit 4d66ec91c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 183 additions and 5 deletions

View file

@ -16,7 +16,7 @@ Deno.test("[node/worker_threads] BroadcastChannel is exported", () => {
});
Deno.test("[node/worker_threads] MessageChannel are MessagePort are exported", () => {
assertEquals<unknown>(workerThreads.MessageChannel, MessageChannel);
assert(workerThreads.MessageChannel);
assertEquals<unknown>(workerThreads.MessagePort, MessagePort);
});