summaryrefslogtreecommitdiff
path: root/tests/specs/jsr/module_graph
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/jsr/module_graph')
-rw-r--r--tests/specs/jsr/module_graph/__test__.jsonc2
-rw-r--r--tests/specs/jsr/module_graph/main.out10
-rw-r--r--tests/specs/jsr/module_graph/main.ts2
-rw-r--r--tests/specs/jsr/module_graph/main_info.out12
4 files changed, 12 insertions, 14 deletions
diff --git a/tests/specs/jsr/module_graph/__test__.jsonc b/tests/specs/jsr/module_graph/__test__.jsonc
index a8837a8b5..16b086e8b 100644
--- a/tests/specs/jsr/module_graph/__test__.jsonc
+++ b/tests/specs/jsr/module_graph/__test__.jsonc
@@ -1,6 +1,6 @@
{
"steps": [{
- "args": "run main.ts",
+ "args": "run --log-level=debug main.ts",
"output": "main.out"
}, {
"cleanDenoDir": true,
diff --git a/tests/specs/jsr/module_graph/main.out b/tests/specs/jsr/module_graph/main.out
index 1cd0115b9..0bc19aeba 100644
--- a/tests/specs/jsr/module_graph/main.out
+++ b/tests/specs/jsr/module_graph/main.out
@@ -1,7 +1,5 @@
-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://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]
+[WILDCARD]Caching module info for http://[WILDLINE]/@denotest/module-graph/1.4.0/mod.ts
+[WILDCARD]Caching module info for http://[WILDLINE]/@denotest/module-graph/1.4.0/other.ts
+[WILDCARD]
Test { other: Other {} }
+[WILDCARD]
diff --git a/tests/specs/jsr/module_graph/main.ts b/tests/specs/jsr/module_graph/main.ts
index c92823cc2..3f95747c5 100644
--- a/tests/specs/jsr/module_graph/main.ts
+++ b/tests/specs/jsr/module_graph/main.ts
@@ -1,3 +1,3 @@
-import { Test } from "jsr:@denotest/module_graph";
+import { Test } from "jsr:@denotest/module-graph";
console.log(new Test());
diff --git a/tests/specs/jsr/module_graph/main_info.out b/tests/specs/jsr/module_graph/main_info.out
index c35cca5b4..5e9e85163 100644
--- a/tests/specs/jsr/module_graph/main_info.out
+++ b/tests/specs/jsr/module_graph/main_info.out
@@ -1,8 +1,8 @@
-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
+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://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
+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://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])
+└─┬ 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])