diff options
Diffstat (limited to 'tests/testdata/npm/nonexistent_file')
| -rw-r--r-- | tests/testdata/npm/nonexistent_file/main.js | 2 | ||||
| -rw-r--r-- | tests/testdata/npm/nonexistent_file/main.out | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/npm/nonexistent_file/main.js b/tests/testdata/npm/nonexistent_file/main.js new file mode 100644 index 000000000..c480b0548 --- /dev/null +++ b/tests/testdata/npm/nonexistent_file/main.js @@ -0,0 +1,2 @@ +import hmacSHA512 from "npm:crypto-js/non-existent"; +console.log(hmacSHA512); diff --git a/tests/testdata/npm/nonexistent_file/main.out b/tests/testdata/npm/nonexistent_file/main.out new file mode 100644 index 000000000..baa79b1ce --- /dev/null +++ b/tests/testdata/npm/nonexistent_file/main.out @@ -0,0 +1,4 @@ +error: Unable to load [WILDCARD]non-existent imported from [WILDCARD]main.js + +Caused by: +[WILDCARD] |
