diff options
author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-09-16 20:08:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 17:08:00 +0000 |
commit | acc32e1cee043ef7233a94bcf5645c4a842ed13a (patch) | |
tree | d2ef2a68efc5f461b650243c0199a43904f1ce38 /tests/testdata/info/json_output | |
parent | e47606a5549aff43540bf2b8adc5db0309c28dbc (diff) |
chore: move info itests (#25659)
Diffstat (limited to 'tests/testdata/info/json_output')
-rw-r--r-- | tests/testdata/info/json_output/main.out | 92 | ||||
-rw-r--r-- | tests/testdata/info/json_output/main.ts | 11 |
2 files changed, 0 insertions, 103 deletions
diff --git a/tests/testdata/info/json_output/main.out b/tests/testdata/info/json_output/main.out deleted file mode 100644 index 43c4f7398..000000000 --- a/tests/testdata/info/json_output/main.out +++ /dev/null @@ -1,92 +0,0 @@ -{ - "roots": [ - "file://[WILDCARD]/info/json_output/main.ts" - ], - "modules": [ - { - "kind": "esm", - "dependencies": [ - { - "specifier": "../../subdir/mod1.ts", - "code": { - "specifier": "file://[WILDCARD]/subdir/mod1.ts", - "span": { - "start": { - "line": 0, - "character": 52 - }, - "end": { - "line": 0, - "character": 74 - } - } - } - } - ], - "local": "[WILDCARD]main.ts", - [WILDCARD] - "mediaType": "TypeScript", - "specifier": "file://[WILDCARD]/json_output/main.ts" - }, - { - "kind": "esm", - "dependencies": [ - { - "specifier": "./subdir2/mod2.ts", - "code": { - "specifier": "file://[WILDCARD]/subdir/subdir2/mod2.ts", - "span": { - "start": { - "line": 0, - "character": 40 - }, - "end": { - "line": 0, - "character": 59 - } - } - } - } - ], - "local": "[WILDCARD]mod1.ts", - [WILDCARD] - "mediaType": "TypeScript", - "specifier": "file://[WILDCARD]/subdir/mod1.ts" - }, - { - "kind": "esm", - "local": "[WILDCARD]print_hello.ts", - [WILDCARD] - "mediaType": "TypeScript", - "specifier": "file://[WILDCARD]/subdir/print_hello.ts" - }, - { - "kind": "esm", - "dependencies": [ - { - "specifier": "../print_hello.ts", - "code": { - "specifier": "file://[WILDCARD]/subdir/print_hello.ts", - "span": { - "start": { - "line": 0, - "character": 27 - }, - "end": { - "line": 0, - "character": 46 - } - } - } - } - ], - "local": "[WILDCARD]mod2.ts", - [WILDCARD] - "mediaType": "TypeScript", - "specifier": "file://[WILDCARD]/subdir/subdir2/mod2.ts" - } - ], - "redirects": {}, - "version": 1, - "npmPackages": {} -} diff --git a/tests/testdata/info/json_output/main.ts b/tests/testdata/info/json_output/main.ts deleted file mode 100644 index 927bc55ed..000000000 --- a/tests/testdata/info/json_output/main.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { printHello3, returnsFoo2, returnsHi } from "../../subdir/mod1.ts"; - -printHello3(); - -if (returnsHi() !== "Hi") { - throw Error("Unexpected"); -} - -if (returnsFoo2() !== "Foo") { - throw Error("Unexpected"); -} |