summaryrefslogtreecommitdiff
path: root/tests/testdata/jsr/deps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/jsr/deps')
-rw-r--r--tests/testdata/jsr/deps/main.out13
-rw-r--r--tests/testdata/jsr/deps/main.ts3
-rw-r--r--tests/testdata/jsr/deps/main_info.out22
3 files changed, 38 insertions, 0 deletions
diff --git a/tests/testdata/jsr/deps/main.out b/tests/testdata/jsr/deps/main.out
new file mode 100644
index 000000000..621703c4b
--- /dev/null
+++ b/tests/testdata/jsr/deps/main.out
@@ -0,0 +1,13 @@
+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://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/tests/testdata/jsr/deps/main.ts b/tests/testdata/jsr/deps/main.ts
new file mode 100644
index 000000000..f48255299
--- /dev/null
+++ b/tests/testdata/jsr/deps/main.ts
@@ -0,0 +1,3 @@
+import value from "jsr:@denotest/deps";
+
+console.log(value);
diff --git a/tests/testdata/jsr/deps/main_info.out b/tests/testdata/jsr/deps/main_info.out
new file mode 100644
index 000000000..c4d412707
--- /dev/null
+++ b/tests/testdata/jsr/deps/main_info.out
@@ -0,0 +1,22 @@
+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://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
+dependencies: 4 unique
+size: [WILDCARD]
+
+file:///[WILDCARD]main.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])