summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/jsr/version_not_found
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/jsr/version_not_found')
-rw-r--r--cli/tests/testdata/jsr/version_not_found/main.out4
-rw-r--r--cli/tests/testdata/jsr/version_not_found/main.ts2
2 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/jsr/version_not_found/main.out b/cli/tests/testdata/jsr/version_not_found/main.out
new file mode 100644
index 000000000..ec9a2ee96
--- /dev/null
+++ b/cli/tests/testdata/jsr/version_not_found/main.out
@@ -0,0 +1,4 @@
+Download http://localhost:4545/jsr/registry/@denotest/deps/meta.json
+error: Could not find constraint in the list of versions: @denotest/deps@0.1.4
+ Specifier: jsr:@denotest/deps@0.1.4/mod.ts
+ at file:///[WILDCARD]/version_not_found/main.ts:1:19
diff --git a/cli/tests/testdata/jsr/version_not_found/main.ts b/cli/tests/testdata/jsr/version_not_found/main.ts
new file mode 100644
index 000000000..a7673b744
--- /dev/null
+++ b/cli/tests/testdata/jsr/version_not_found/main.ts
@@ -0,0 +1,2 @@
+import value from "jsr:@denotest/deps@0.1.4/mod.ts";
+console.log(value);