summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/nonexistent_file
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/nonexistent_file')
-rw-r--r--cli/tests/testdata/npm/nonexistent_file/main.js1
-rw-r--r--cli/tests/testdata/npm/nonexistent_file/main.out4
2 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/nonexistent_file/main.js b/cli/tests/testdata/npm/nonexistent_file/main.js
new file mode 100644
index 000000000..4e4657088
--- /dev/null
+++ b/cli/tests/testdata/npm/nonexistent_file/main.js
@@ -0,0 +1 @@
+import hmacSHA512 from "npm:crypto-js/hmac-sha512";
diff --git a/cli/tests/testdata/npm/nonexistent_file/main.out b/cli/tests/testdata/npm/nonexistent_file/main.out
new file mode 100644
index 000000000..5f43f7242
--- /dev/null
+++ b/cli/tests/testdata/npm/nonexistent_file/main.out
@@ -0,0 +1,4 @@
+error: Unable to load [WILDCARD]hmac-sha512 imported from [WILDCARD]/testdata/npm/nonexistent_file/main.js
+
+Caused by:
+[WILDCARD]