diff options
author | Satya Rohith <me@satyarohith.com> | 2024-04-02 17:06:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 17:06:09 +0530 |
commit | 4d66ec91c1ca23134dc25f58f41da52a99615a38 (patch) | |
tree | 96b9de0cf5ac664f14ac8fc35f93d2d3da65a87f /tests/unit_node/worker_threads_test.ts | |
parent | 7ad76fd453972e9262985c61840c77b8b8a6dbb7 (diff) |
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>
Diffstat (limited to 'tests/unit_node/worker_threads_test.ts')
-rw-r--r-- | tests/unit_node/worker_threads_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_node/worker_threads_test.ts b/tests/unit_node/worker_threads_test.ts index 52c9cfffd..2351e1052 100644 --- a/tests/unit_node/worker_threads_test.ts +++ b/tests/unit_node/worker_threads_test.ts @@ -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); }); |