summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js')
-rw-r--r--cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js b/cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js
new file mode 100644
index 000000000..b831ed3fe
--- /dev/null
+++ b/cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js
@@ -0,0 +1,10 @@
+// deno-fmt-ignore-file
+// deno-lint-ignore-file
+
+"use strict";
+
+const assert = require("assert/strict");
+const worker_threads = require("worker_threads");
+
+assert.equal(MessageChannel, worker_threads.MessageChannel);
+assert.equal(MessagePort, worker_threads.MessagePort);