summaryrefslogtreecommitdiff
path: root/tests/registry
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-08-28 21:13:34 +0200
committerGitHub <noreply@github.com>2024-08-28 21:13:34 +0200
commit64037b1f027ac977a0f227669d367cf2e1c71791 (patch)
treeb990ff19c14a9cca3a0779ea47c818407cd3587b /tests/registry
parentb708a13eb02510925b5fd964fe933b4896093185 (diff)
refactor: don't virtualize the `console` global for node mode (#25263)
Turns out we only virtualized it so one could have a `Console` property, and the other one not. We can just make this `console.Console` available everywhere.
Diffstat (limited to 'tests/registry')
-rw-r--r--tests/registry/npm/@denotest/cjs-local-global-decls/1.0.0/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/registry/npm/@denotest/cjs-local-global-decls/1.0.0/index.js b/tests/registry/npm/@denotest/cjs-local-global-decls/1.0.0/index.js
index 5aa546d91..a642a3d65 100644
--- a/tests/registry/npm/@denotest/cjs-local-global-decls/1.0.0/index.js
+++ b/tests/registry/npm/@denotest/cjs-local-global-decls/1.0.0/index.js
@@ -1,3 +1,3 @@
// package that has all the locals defined
-const Buffer = 1, clearImmediate = 1, clearInterval = 1, clearTimeout = 1, console = 1, global = 1, process = 1, setImmediate = 1, setInterval = 1, setTimeout = 1, globalThis = 1;
+const Buffer = 1, clearImmediate = 1, clearInterval = 1, clearTimeout = 1, global = 1, process = 1, setImmediate = 1, setInterval = 1, setTimeout = 1, globalThis = 1;
require("./other.js");