diff options
Diffstat (limited to 'tests/testdata')
-rw-r--r-- | tests/testdata/npm/compare_globals/main.out | 4 | ||||
-rw-r--r-- | tests/testdata/npm/compare_globals/main.ts | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/tests/testdata/npm/compare_globals/main.out b/tests/testdata/npm/compare_globals/main.out index 5b1d26464..f6f90d533 100644 --- a/tests/testdata/npm/compare_globals/main.out +++ b/tests/testdata/npm/compare_globals/main.out @@ -15,10 +15,6 @@ setTimeout 2 function setTimeout 3 function setTimeout 4 function setTimeout 5 undefined -process 1 false -process 2 false -true -true window 1 false window 2 false false 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( |