summaryrefslogtreecommitdiff
path: root/tests/testdata/npm/require_json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/npm/require_json')
-rw-r--r--tests/testdata/npm/require_json/main.js2
-rw-r--r--tests/testdata/npm/require_json/main.out3
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/npm/require_json/main.js b/tests/testdata/npm/require_json/main.js
new file mode 100644
index 000000000..d11e85305
--- /dev/null
+++ b/tests/testdata/npm/require_json/main.js
@@ -0,0 +1,2 @@
+import globals from "npm:globals@13.17.0";
+console.log(globals);
diff --git a/tests/testdata/npm/require_json/main.out b/tests/testdata/npm/require_json/main.out
new file mode 100644
index 000000000..97db68e1b
--- /dev/null
+++ b/tests/testdata/npm/require_json/main.out
@@ -0,0 +1,3 @@
+[WILDCARD]
+ devtools: {
+[WILDCARD] \ No newline at end of file