diff options
Diffstat (limited to 'cli/tests/testdata/jsr/module_graph')
-rw-r--r-- | cli/tests/testdata/jsr/module_graph/main.out | 7 | ||||
-rw-r--r-- | cli/tests/testdata/jsr/module_graph/main.ts | 3 | ||||
-rw-r--r-- | cli/tests/testdata/jsr/module_graph/main_info.out | 14 |
3 files changed, 24 insertions, 0 deletions
diff --git a/cli/tests/testdata/jsr/module_graph/main.out b/cli/tests/testdata/jsr/module_graph/main.out new file mode 100644 index 000000000..c1c8d039d --- /dev/null +++ b/cli/tests/testdata/jsr/module_graph/main.out @@ -0,0 +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 +[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 +[UNORDERED_END] +Test { other: Other {} } diff --git a/cli/tests/testdata/jsr/module_graph/main.ts b/cli/tests/testdata/jsr/module_graph/main.ts new file mode 100644 index 000000000..02052595c --- /dev/null +++ b/cli/tests/testdata/jsr/module_graph/main.ts @@ -0,0 +1,3 @@ +import { Test } from "jsr:@denotest/module_graph/mod.ts"; + +console.log(new Test()); diff --git a/cli/tests/testdata/jsr/module_graph/main_info.out b/cli/tests/testdata/jsr/module_graph/main_info.out new file mode 100644 index 000000000..4bb8388ed --- /dev/null +++ b/cli/tests/testdata/jsr/module_graph/main_info.out @@ -0,0 +1,14 @@ +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 +[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 +[UNORDERED_END] +local: [WILDCARD]main.ts +type: TypeScript +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]) |