diff options
Diffstat (limited to 'cli/tests/testdata/jsr')
41 files changed, 0 insertions, 320 deletions
diff --git a/cli/tests/testdata/jsr/deps/main.out b/cli/tests/testdata/jsr/deps/main.out deleted file mode 100644 index 621703c4b..000000000 --- a/cli/tests/testdata/jsr/deps/main.out +++ /dev/null @@ -1,13 +0,0 @@ -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/cli/tests/testdata/jsr/deps/main.ts b/cli/tests/testdata/jsr/deps/main.ts deleted file mode 100644 index f48255299..000000000 --- a/cli/tests/testdata/jsr/deps/main.ts +++ /dev/null @@ -1,3 +0,0 @@ -import value from "jsr:@denotest/deps"; - -console.log(value); diff --git a/cli/tests/testdata/jsr/deps/main_info.out b/cli/tests/testdata/jsr/deps/main_info.out deleted file mode 100644 index c4d412707..000000000 --- a/cli/tests/testdata/jsr/deps/main_info.out +++ /dev/null @@ -1,22 +0,0 @@ -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]) diff --git a/cli/tests/testdata/jsr/module_graph/main.out b/cli/tests/testdata/jsr/module_graph/main.out deleted file mode 100644 index 1cd0115b9..000000000 --- a/cli/tests/testdata/jsr/module_graph/main.out +++ /dev/null @@ -1,7 +0,0 @@ -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] -Test { other: Other {} } diff --git a/cli/tests/testdata/jsr/module_graph/main.ts b/cli/tests/testdata/jsr/module_graph/main.ts deleted file mode 100644 index c92823cc2..000000000 --- a/cli/tests/testdata/jsr/module_graph/main.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Test } from "jsr:@denotest/module_graph"; - -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 deleted file mode 100644 index c35cca5b4..000000000 --- a/cli/tests/testdata/jsr/module_graph/main_info.out +++ /dev/null @@ -1,14 +0,0 @@ -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 -[UNORDERED_END] -local: [WILDCARD]main.ts -type: TypeScript -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]) diff --git a/cli/tests/testdata/jsr/no_module_graph/main.out b/cli/tests/testdata/jsr/no_module_graph/main.out deleted file mode 100644 index da9b67e11..000000000 --- a/cli/tests/testdata/jsr/no_module_graph/main.out +++ /dev/null @@ -1,6 +0,0 @@ -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.ts b/cli/tests/testdata/jsr/no_module_graph/main.ts deleted file mode 100644 index 6ea030c59..000000000 --- a/cli/tests/testdata/jsr/no_module_graph/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -import version, { TestClass } from "jsr:@denotest/no_module_graph@0.1.0"; - -console.log(version); -console.log(new 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 deleted file mode 100644 index 0293e4120..000000000 --- a/cli/tests/testdata/jsr/no_module_graph/main_info.out +++ /dev/null @@ -1,12 +0,0 @@ -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://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/no_module_graph/multiple.out b/cli/tests/testdata/jsr/no_module_graph/multiple.out deleted file mode 100644 index 8146276d0..000000000 --- a/cli/tests/testdata/jsr/no_module_graph/multiple.out +++ /dev/null @@ -1,2 +0,0 @@ -0.1.0 -0.2.0 diff --git a/cli/tests/testdata/jsr/no_module_graph/multiple.ts b/cli/tests/testdata/jsr/no_module_graph/multiple.ts deleted file mode 100644 index 660ed8be6..000000000 --- a/cli/tests/testdata/jsr/no_module_graph/multiple.ts +++ /dev/null @@ -1,5 +0,0 @@ -import version1 from "jsr:@denotest/no_module_graph@0.1.0"; -import version2 from "jsr:@denotest/no_module_graph@^0.2"; - -console.log(version1); -console.log(version2); diff --git a/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0/mod.ts deleted file mode 100644 index 8d9b8a22a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0/mod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function add(a: number, b: number): number { - return a + b; -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0_meta.json deleted file mode 100644 index 6eebe2198..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/add/1.0.0_meta.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - }, - "moduleGraph1": { - "/mod.ts": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/add/meta.json b/cli/tests/testdata/jsr/registry/@denotest/add/meta.json deleted file mode 100644 index 02601e4d0..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/add/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "versions": { - "1.0.0": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0/mod.ts deleted file mode 100644 index 4ba0d8aaf..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0/mod.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Other } from "jsr:@denotest/module_graph@1/other"; -import version from "jsr:@denotest/no_module_graph@^0.1"; - -export default { - version, - other: new Other(), -}; diff --git a/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0_meta.json deleted file mode 100644 index 914e4bd73..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/deps/1.0.0_meta.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - }, - "moduleGraph1": { - "/mod.ts": { - "dependencies": [{ - "type": "static", - "kind": "import", - "range": [[0, 0], [0, 59]], - "specifier": "jsr:@denotest/module_graph@1/other", - "specifierRange": [[0, 22], [0, 58]] - }, { - "type": "static", - "kind": "import", - "range": [[1, 0], [1, 57]], - "specifier": "jsr:@denotest/no_module_graph@^0.1", - "specifierRange": [[1, 20], [1, 56]] - }] - } - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/deps/meta.json b/cli/tests/testdata/jsr/registry/@denotest/deps/meta.json deleted file mode 100644 index 02601e4d0..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/deps/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "versions": { - "1.0.0": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/mod.ts deleted file mode 100644 index cb3c4a5e0..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/mod.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Other } from "./other.ts"; - -export class Test { - other = new Other(); -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/other.ts b/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/other.ts deleted file mode 100644 index 57e436cf8..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0/other.ts +++ /dev/null @@ -1,2 +0,0 @@ -export class Other { -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0_meta.json deleted file mode 100644 index ff105b58a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/module_graph/1.4.0_meta.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "exports": { - ".": "./mod.ts", - "./other": "./other.ts" - }, - "moduleGraph1": { - "/mod.ts": { - "dependencies": [{ - "kind": "import", - "type": "static", - "range": [[0, 0], [0, 35]], - "specifier": "./other.ts", - "specifierRange": [[0, 22], [0, 34]] - }] - }, - "/other.ts": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/module_graph/meta.json b/cli/tests/testdata/jsr/registry/@denotest/module_graph/meta.json deleted file mode 100644 index 9a450c08b..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/module_graph/meta.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "versions": { - "1.0.0": {}, - "1.4.0": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts deleted file mode 100644 index 88ac04c12..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/TestClass.ts +++ /dev/null @@ -1 +0,0 @@ -export default class TestClass {} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts deleted file mode 100644 index 57600eb4b..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0/mod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default "0.1.0"; - -export { default as TestClass } from "./TestClass.ts"; diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0_meta.json deleted file mode 100644 index 631a18d0e..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.0_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts deleted file mode 100644 index 88ac04c12..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/TestClass.ts +++ /dev/null @@ -1 +0,0 @@ -export default class TestClass {} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts deleted file mode 100644 index 5e1fd9435..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1/mod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default "0.1.1"; - -export { default as TestClass } from "./TestClass.ts"; diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1_meta.json b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1_meta.json deleted file mode 100644 index 631a18d0e..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.1.1_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/TestClass.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/TestClass.ts deleted file mode 100644 index 88ac04c12..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/TestClass.ts +++ /dev/null @@ -1 +0,0 @@ -export default class TestClass {} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/mod.ts deleted file mode 100644 index edf9622fb..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0/mod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default "0.2.0"; - -export { default as TestClass } from "./TestClass.ts"; diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0_meta.json deleted file mode 100644 index 631a18d0e..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/0.2.0_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/meta.json b/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/meta.json deleted file mode 100644 index 0268b6c8a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/no_module_graph/meta.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "versions": { - "0.1.0": {}, - "0.1.1": {}, - "0.2.0": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0/mod.ts deleted file mode 100644 index e81b2309a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0/mod.ts +++ /dev/null @@ -1,17 +0,0 @@ -// add some statements that will be removed by the subset -// type graph so that we can test that the source map works -console.log(1); -console.log(2); -console.log(3); - -export class Foo { - method(): number { - return Math.random(); - } -} - -// this won't be type checked against because the subset -// type graph omit this code because it's not part of the -// public API. -const invalidTypeCheck: number = ""; -console.log(invalidTypeCheck); diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0_meta.json deleted file mode 100644 index 631a18d0e..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/0.1.0_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/meta.json b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/meta.json deleted file mode 100644 index d10aa5c3a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "versions": { - "0.1.0": {} - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts deleted file mode 100644 index 6a5036bf5..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0/mod.ts +++ /dev/null @@ -1,12 +0,0 @@ -export class Foo { - method() { - return Math.random(); - } -} - -// This will be analyzed because the method above is missing an -// explicit type which is required for the subset type graph to take -// effect. So the entire source file will be type checked against, -// causing a type error here. -const invalidTypeCheck: number = ""; -console.log(invalidTypeCheck); diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0_meta.json b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0_meta.json deleted file mode 100644 index 631a18d0e..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/0.1.0_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - } -} diff --git a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/meta.json b/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/meta.json deleted file mode 100644 index d10aa5c3a..000000000 --- a/cli/tests/testdata/jsr/registry/@denotest/subset_type_graph_invalid/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "versions": { - "0.1.0": {} - } -} diff --git a/cli/tests/testdata/jsr/subset_type_graph/main.check.out b/cli/tests/testdata/jsr/subset_type_graph/main.check.out deleted file mode 100644 index 278884579..000000000 --- a/cli/tests/testdata/jsr/subset_type_graph/main.check.out +++ /dev/null @@ -1,45 +0,0 @@ -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://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://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(); - ~~~~~~ - at file:///[WILDCARD]/subset_type_graph/main.ts:5:7 - -TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. -const error2: string = new Foo2().method(); - ~~~~~~ - at file:///[WILDCARD]/subset_type_graph/main.ts:6:7 - -TS2551 [ERROR]: Property 'method2' does not exist on type 'Foo'. Did you mean 'method'? -new Foo1().method2(); - ~~~~~~~ - at file:///[WILDCARD]/subset_type_graph/main.ts:12:12 - - 'method' is declared here. - method(): number { - ~~~~~~ - 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(); - ~~~~~~~ - at file:///[WILDCARD]/subset_type_graph/main.ts:13:12 - - 'method' is declared here. - method() { - ~~~~~~ - 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/subset_type_graph/main.ts b/cli/tests/testdata/jsr/subset_type_graph/main.ts deleted file mode 100644 index 2e1614be9..000000000 --- a/cli/tests/testdata/jsr/subset_type_graph/main.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Foo as Foo1 } from "jsr:@denotest/subset_type_graph@0.1.0"; -import { Foo as Foo2 } from "jsr:@denotest/subset_type_graph_invalid@0.1.0"; - -// these will both raise type checking errors -const error1: string = new Foo1().method(); -const error2: string = new Foo2().method(); -console.log(error1); -console.log(error2); - -// now raise some errors that will show the original code and -// these should source map to the original -new Foo1().method2(); -new Foo2().method2(); diff --git a/cli/tests/testdata/jsr/version_not_found/main.out b/cli/tests/testdata/jsr/version_not_found/main.out deleted file mode 100644 index 6a32b5d81..000000000 --- a/cli/tests/testdata/jsr/version_not_found/main.out +++ /dev/null @@ -1,5 +0,0 @@ -Download http://127.0.0.1:4250/@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/jsr/version_not_found/main.ts b/cli/tests/testdata/jsr/version_not_found/main.ts deleted file mode 100644 index a7673b744..000000000 --- a/cli/tests/testdata/jsr/version_not_found/main.ts +++ /dev/null @@ -1,2 +0,0 @@ -import value from "jsr:@denotest/deps@0.1.4/mod.ts"; -console.log(value); |