summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/parallel
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/node_compat/test/parallel')
-rw-r--r--cli/tests/node_compat/test/parallel/test-module-run-main.js15
-rw-r--r--cli/tests/node_compat/test/parallel/test-worker-threads-broadcast-channel.js9
-rw-r--r--cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js10
3 files changed, 0 insertions, 34 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-module-run-main.js b/cli/tests/node_compat/test/parallel/test-module-run-main.js
deleted file mode 100644
index 8e30de267..000000000
--- a/cli/tests/node_compat/test/parallel/test-module-run-main.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// deno-fmt-ignore-file
-// deno-lint-ignore-file
-
-"use strict";
-
-const Module = require("module");
-const assert = require("assert/strict");
-const path = require("path");
-
-const file = path.join(__dirname, "..", "fixtures", "run-main.js");
-process.argv = [process.argv[0], file];
-Module.runMain();
-
-// The required file via `Module.runMain()` sets this global
-assert.equal(globalThis.foo, 42);
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
deleted file mode 100644
index a8fd3ff0e..000000000
--- a/cli/tests/node_compat/test/parallel/test-worker-threads-broadcast-channel.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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);
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
deleted file mode 100644
index b831ed3fe..000000000
--- a/cli/tests/node_compat/test/parallel/test-worker-threads-message-channel.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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);