diff options
author | Luca Casonato <hello@lcas.dev> | 2024-09-04 11:04:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 11:04:06 +0200 |
commit | b333dccee82f4328a65d0c3c45c7aa5c19255220 (patch) | |
tree | 6799aff43eb6c8f2e1186c18a2b973b056f967a4 /tests/testdata/npm/compare_globals/main.ts | |
parent | 4c3b17b54703b455d8ae4b51354d18838c090658 (diff) |
feat(cli): give access to `process` global everywhere (#25291)
Diffstat (limited to 'tests/testdata/npm/compare_globals/main.ts')
-rw-r--r-- | tests/testdata/npm/compare_globals/main.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/testdata/npm/compare_globals/main.ts b/tests/testdata/npm/compare_globals/main.ts index 5019a5fd5..9482798d8 100644 --- a/tests/testdata/npm/compare_globals/main.ts +++ b/tests/testdata/npm/compare_globals/main.ts @@ -30,14 +30,6 @@ globals.deleteSetTimeout(); console.log("setTimeout 4", typeof globalThis.setTimeout); console.log("setTimeout 5", typeof globals.getSetTimeout()); -// In Deno, the process global is not defined, but in Node it is. -console.log("process 1", "process" in globalThis); -console.log( - "process 2", - Object.getOwnPropertyDescriptor(globalThis, "process") !== undefined, -); -globals.checkProcessGlobal(); - // In Deno 2 and Node.js, the window global is not defined. console.log("window 1", "window" in globalThis); console.log( |