Skip to content

Importing typescript modules #198

Importing typescript modules

Importing typescript modules #198

Triggered via pull request December 24, 2024 00:39
@azizghuloumazizghuloum
synchronize #59
import-ts
Status Failure
Total duration 38s
Artifacts

cicd.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
files.test.ts > files in tests dir > expanding file lexical-declarations-1.ts: files.test.ts#L86
Error: Snapshot `files in tests dir > expanding file lexical-declarations-1.ts 1` mismatched - Expected + Received @@ -1,8 +1,12 @@ ## `lexical-declarations-1.ts` - ### Status: `DONE` + ### Status: `DEBUG` + + ``` + todo type_reference + ``` ### Input Program ```typescript type t = 12; @@ -14,14 +18,7 @@ ``` ### Output Program ```typescript - export type t_1 = 12; - export const y_2 = 13, - z_3: t_1 = y_2, - q_4: t_1, - r_5; - export const x_6 = (z_7) => { - const t_8 = z_7; - }; + t; ``` ❯ files.test.ts:86:7
files.test.ts > files in tests dir > expanding file macro-generating-type-1.ts: files.test.ts#L86
Error: Snapshot `files in tests dir > expanding file macro-generating-type-1.ts 1` mismatched - Expected + Received @@ -1,8 +1,12 @@ ## `macro-generating-type-1.ts` - ### Status: `DONE` + ### Status: `SyntaxError` + + ``` + invalid syntax (no pattern matched) + ``` ### Input Program ```typescript using_rewrite_rules( @@ -15,8 +19,7 @@ ``` ### Output Program ```typescript - export type a_1 = string; - export type b_2 = a_1; + /*>>>*/ deftype(/*<<<*/ a as string); ``` ❯ files.test.ts:86:7
test (22.x)
Process completed with exit code 1.
test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636