summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/jsr/deps/main.out20
-rw-r--r--cli/tests/testdata/jsr/deps/main_info.out28
-rw-r--r--cli/tests/testdata/jsr/module_graph/main.out8
-rw-r--r--cli/tests/testdata/jsr/module_graph/main_info.out12
-rw-r--r--cli/tests/testdata/jsr/no_module_graph/main.out8
-rw-r--r--cli/tests/testdata/jsr/no_module_graph/main_info.out12
-rw-r--r--cli/tests/testdata/jsr/subset_type_graph/main.check.out18
-rw-r--r--cli/tests/testdata/jsr/version_not_found/main.out2
-rw-r--r--cli/tests/testdata/publish/no_zap.out5
9 files changed, 57 insertions, 56 deletions
diff --git a/cli/tests/testdata/jsr/deps/main.out b/cli/tests/testdata/jsr/deps/main.out
index 388e1a6d5..621703c4b 100644
--- a/cli/tests/testdata/jsr/deps/main.out
+++ b/cli/tests/testdata/jsr/deps/main.out
@@ -1,13 +1,13 @@
-Download http://localhost:4545/jsr/registry/@denotest/deps/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/deps/1.0.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1_meta.json
+Download http://127.0.0.1:4250/@denotest/deps/meta.json
+Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0_meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1_meta.json
[UNORDERED_START]
-Download http://localhost:4545/jsr/registry/@denotest/deps/1.0.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts
+Download http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/mod.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/TestClass.ts
[UNORDERED_END]
{ version: "0.1.1", other: Other {} }
diff --git a/cli/tests/testdata/jsr/deps/main_info.out b/cli/tests/testdata/jsr/deps/main_info.out
index c100e1363..c4d412707 100644
--- a/cli/tests/testdata/jsr/deps/main_info.out
+++ b/cli/tests/testdata/jsr/deps/main_info.out
@@ -1,14 +1,14 @@
-Download http://localhost:4545/jsr/registry/@denotest/deps/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/deps/1.0.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1_meta.json
+Download http://127.0.0.1:4250/@denotest/deps/meta.json
+Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0_meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1_meta.json
[UNORDERED_START]
-Download http://localhost:4545/jsr/registry/@denotest/deps/1.0.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts
+Download http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/mod.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/TestClass.ts
[UNORDERED_END]
local: [WILDCARD]main.ts
type: TypeScript
@@ -16,7 +16,7 @@ dependencies: 4 unique
size: [WILDCARD]
file:///[WILDCARD]main.ts ([WILDCARD])
-└─┬ http://localhost:4545/jsr/registry/@denotest/deps/1.0.0/mod.ts ([WILDCARD])
- ├── http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts ([WILDCARD])
- └─┬ http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts ([WILDCARD])
- └── http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts ([WILDCARD])
+└─┬ http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts ([WILDCARD])
+ ├── http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts ([WILDCARD])
+ └─┬ http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/mod.ts ([WILDCARD])
+ └── http://127.0.0.1:4250/@denotest/no_module_graph/0.1.1/TestClass.ts ([WILDCARD])
diff --git a/cli/tests/testdata/jsr/module_graph/main.out b/cli/tests/testdata/jsr/module_graph/main.out
index c1c8d039d..1cd0115b9 100644
--- a/cli/tests/testdata/jsr/module_graph/main.out
+++ b/cli/tests/testdata/jsr/module_graph/main.out
@@ -1,7 +1,7 @@
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0_meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0_meta.json
[UNORDERED_START]
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/mod.ts
[UNORDERED_END]
Test { other: Other {} }
diff --git a/cli/tests/testdata/jsr/module_graph/main_info.out b/cli/tests/testdata/jsr/module_graph/main_info.out
index 4bb8388ed..c35cca5b4 100644
--- a/cli/tests/testdata/jsr/module_graph/main_info.out
+++ b/cli/tests/testdata/jsr/module_graph/main_info.out
@@ -1,8 +1,8 @@
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0_meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0_meta.json
[UNORDERED_START]
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts
[UNORDERED_END]
local: [WILDCARD]main.ts
type: TypeScript
@@ -10,5 +10,5 @@ dependencies: 2 unique
size: [WILDCARD]
file:///[WILDCARD]/module_graph/main.ts ([WILDCARD])
-└─┬ http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/mod.ts ([WILDCARD])
- └── http://localhost:4545/jsr/registry/@denotest/module_graph/1.4.0/other.ts ([WILDCARD])
+└─┬ http://127.0.0.1:4250/@denotest/module_graph/1.4.0/mod.ts ([WILDCARD])
+ └── http://127.0.0.1:4250/@denotest/module_graph/1.4.0/other.ts ([WILDCARD])
diff --git a/cli/tests/testdata/jsr/no_module_graph/main.out b/cli/tests/testdata/jsr/no_module_graph/main.out
index 70cae572d..da9b67e11 100644
--- a/cli/tests/testdata/jsr/no_module_graph/main.out
+++ b/cli/tests/testdata/jsr/no_module_graph/main.out
@@ -1,6 +1,6 @@
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0_meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/TestClass.ts
0.1.0
TestClass {}
diff --git a/cli/tests/testdata/jsr/no_module_graph/main_info.out b/cli/tests/testdata/jsr/no_module_graph/main_info.out
index 282e0580c..0293e4120 100644
--- a/cli/tests/testdata/jsr/no_module_graph/main_info.out
+++ b/cli/tests/testdata/jsr/no_module_graph/main_info.out
@@ -1,12 +1,12 @@
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0_meta.json
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/TestClass.ts
local: [WILDCARD]main.ts
type: TypeScript
dependencies: 2 unique
size: [WILDCARD]
file:///[WILDCARD]/jsr/no_module_graph/main.ts ([WILDCARD])
-└─┬ http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts ([WILDCARD])
- └── http://localhost:4545/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts ([WILDCARD])
+└─┬ http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/mod.ts ([WILDCARD])
+ └── http://127.0.0.1:4250/@denotest/no_module_graph/0.1.0/TestClass.ts ([WILDCARD])
diff --git a/cli/tests/testdata/jsr/subset_type_graph/main.check.out b/cli/tests/testdata/jsr/subset_type_graph/main.check.out
index fc4539c8a..278884579 100644
--- a/cli/tests/testdata/jsr/subset_type_graph/main.check.out
+++ b/cli/tests/testdata/jsr/subset_type_graph/main.check.out
@@ -1,16 +1,16 @@
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph_invalid/meta.json
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph/0.1.0_meta.json
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0_meta.json
+Download http://127.0.0.1:4250/@denotest/subset_type_graph/meta.json
+Download http://127.0.0.1:4250/@denotest/subset_type_graph_invalid/meta.json
+Download http://127.0.0.1:4250/@denotest/subset_type_graph/0.1.0_meta.json
+Download http://127.0.0.1:4250/@denotest/subset_type_graph_invalid/0.1.0_meta.json
[UNORDERED_START]
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph/0.1.0/mod.ts
-Download http://localhost:4545/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/subset_type_graph/0.1.0/mod.ts
+Download http://127.0.0.1:4250/@denotest/subset_type_graph_invalid/0.1.0/mod.ts
[UNORDERED_END]
Check file:///[WILDCARD]/subset_type_graph/main.ts
error: TS2322 [ERROR]: Type 'string' is not assignable to type 'number'.
const invalidTypeCheck: number = "";
~~~~~~~~~~~~~~~~
- at http://localhost:4545/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts:11:7
+ at http://127.0.0.1:4250/@denotest/subset_type_graph_invalid/0.1.0/mod.ts:11:7
TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
const error1: string = new Foo1().method();
@@ -30,7 +30,7 @@ new Foo1().method2();
'method' is declared here.
method(): number {
~~~~~~
- at http://localhost:4545/jsr/registry/@denotest/subset_type_graph/0.1.0/mod.ts:8:3
+ at http://127.0.0.1:4250/@denotest/subset_type_graph/0.1.0/mod.ts:8:3
TS2551 [ERROR]: Property 'method2' does not exist on type 'Foo'. Did you mean 'method'?
new Foo2().method2();
@@ -40,6 +40,6 @@ new Foo2().method2();
'method' is declared here.
method() {
~~~~~~
- at http://localhost:4545/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts:2:3
+ at http://127.0.0.1:4250/@denotest/subset_type_graph_invalid/0.1.0/mod.ts:2:3
Found 5 errors.
diff --git a/cli/tests/testdata/jsr/version_not_found/main.out b/cli/tests/testdata/jsr/version_not_found/main.out
index ec9a2ee96..5ebe13c73 100644
--- a/cli/tests/testdata/jsr/version_not_found/main.out
+++ b/cli/tests/testdata/jsr/version_not_found/main.out
@@ -1,4 +1,4 @@
-Download http://localhost:4545/jsr/registry/@denotest/deps/meta.json
+Download http://127.0.0.1:4250/@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/publish/no_zap.out b/cli/tests/testdata/publish/no_zap.out
index ac26c67c2..109964903 100644
--- a/cli/tests/testdata/publish/no_zap.out
+++ b/cli/tests/testdata/publish/no_zap.out
@@ -1,4 +1,5 @@
Ensuring type checks...
Check file:///[WILDCARD]/mod.ts
-error: Following packages don't exist, follow the links and create them:
- - https://jsr.io/new?scope=foo&package=bar&from=cli
+Publishing @foo/bar@1.1.0 ...
+Successfully published @foo/bar@1.1.0
+Visit http://127.0.0.1:4250/@foo/bar@1.1.0 for details