summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/parallel/test-module-run-main.js
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-05-13 14:49:11 +0900
committerGitHub <noreply@github.com>2023-05-13 14:49:11 +0900
commit2a0c66484098ba35c1b31d4dc6380887b6eb9da4 (patch)
tree5c01b215882c3335853a6e1b36089d1bf1695c30 /cli/tests/node_compat/test/parallel/test-module-run-main.js
parent68c0fcb157bb47bbf58bcdcecf59d237fb84f201 (diff)
chore: fix & update node compat config (#19106)
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-module-run-main.js')
-rw-r--r--cli/tests/node_compat/test/parallel/test-module-run-main.js15
1 files changed, 0 insertions, 15 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);