summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/import_meta/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/import_meta/main.ts')
-rw-r--r--cli/tests/testdata/run/import_meta/main.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/import_meta/main.ts b/cli/tests/testdata/run/import_meta/main.ts
index 02f0a1c58..0d7cb96da 100644
--- a/cli/tests/testdata/run/import_meta/main.ts
+++ b/cli/tests/testdata/run/import_meta/main.ts
@@ -32,3 +32,8 @@ assertThrows(() => {
assertThrows(() => {
import.meta.resolve("://malformed/url?asdf");
}, TypeError);
+try {
+ import.meta.resolve("npm:cowsay");
+} catch (e) {
+ console.log(e);
+}