mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 10:02:23 +00:00
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:
parent
7ad76fd453
commit
4d66ec91c1
10 changed files with 183 additions and 5 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue