From 2a0c66484098ba35c1b31d4dc6380887b6eb9da4 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sat, 13 May 2023 14:49:11 +0900 Subject: chore: fix & update node compat config (#19106) --- .../node_compat/test/parallel/test-module-run-main.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 cli/tests/node_compat/test/parallel/test-module-run-main.js (limited to 'cli/tests/node_compat/test/parallel/test-module-run-main.js') 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); -- cgit v1.2.3