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