summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/compare_globals
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/compare_globals')
-rw-r--r--cli/tests/testdata/npm/compare_globals/main.js2
-rw-r--r--cli/tests/testdata/npm/compare_globals/main.out3
2 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/compare_globals/main.js b/cli/tests/testdata/npm/compare_globals/main.js
new file mode 100644
index 000000000..ce43e32b1
--- /dev/null
+++ b/cli/tests/testdata/npm/compare_globals/main.js
@@ -0,0 +1,2 @@
+import * as globals from "npm:@denotest/globals";
+console.log(globals.global === globals.globalThis);
diff --git a/cli/tests/testdata/npm/compare_globals/main.out b/cli/tests/testdata/npm/compare_globals/main.out
new file mode 100644
index 000000000..a1a5c0e8f
--- /dev/null
+++ b/cli/tests/testdata/npm/compare_globals/main.out
@@ -0,0 +1,3 @@
+Download http://localhost:4545/npm/registry/@denotest/globals
+Download http://localhost:4545/npm/registry/@denotest/globals/1.0.0.tgz
+true