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/node_compat | |
parent | 4c3b17b54703b455d8ae4b51354d18838c090658 (diff) |
feat(cli): give access to `process` global everywhere (#25291)
Diffstat (limited to 'tests/node_compat')
-rw-r--r-- | tests/node_compat/polyfill_globals.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/node_compat/polyfill_globals.js b/tests/node_compat/polyfill_globals.js index 93246d2ef..79e1cc3f9 100644 --- a/tests/node_compat/polyfill_globals.js +++ b/tests/node_compat/polyfill_globals.js @@ -1,5 +1,4 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import process from "node:process"; import { Buffer } from "node:buffer"; import { clearImmediate, @@ -10,15 +9,12 @@ import { setTimeout, } from "node:timers"; import { performance } from "node:perf_hooks"; -import console from "node:console"; globalThis.Buffer = Buffer; globalThis.clearImmediate = clearImmediate; globalThis.clearInterval = clearInterval; globalThis.clearTimeout = clearTimeout; -globalThis.console = console; globalThis.global = globalThis; globalThis.performance = performance; -globalThis.process = process; globalThis.setImmediate = setImmediate; globalThis.setInterval = setInterval; globalThis.setTimeout = setTimeout; |