From 3c193aef98bea6b3e0c9592cfdb43268e7a7e4af Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Wed, 2 Oct 2024 12:22:35 +0300 Subject: chore: deprecate check itests (#25963) --- tests/specs/check/module_detection_force/__test__.jsonc | 4 ++++ .../check/module_detection_force/module_detection_force/import.ts | 2 ++ .../specs/check/module_detection_force/module_detection_force/main.ts | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 tests/specs/check/module_detection_force/__test__.jsonc create mode 100644 tests/specs/check/module_detection_force/module_detection_force/import.ts create mode 100644 tests/specs/check/module_detection_force/module_detection_force/main.ts (limited to 'tests/specs/check/module_detection_force') diff --git a/tests/specs/check/module_detection_force/__test__.jsonc b/tests/specs/check/module_detection_force/__test__.jsonc new file mode 100644 index 000000000..9c892bd72 --- /dev/null +++ b/tests/specs/check/module_detection_force/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "check --quiet module_detection_force/main.ts", + "output": "" +} diff --git a/tests/specs/check/module_detection_force/module_detection_force/import.ts b/tests/specs/check/module_detection_force/module_detection_force/import.ts new file mode 100644 index 000000000..66b229870 --- /dev/null +++ b/tests/specs/check/module_detection_force/module_detection_force/import.ts @@ -0,0 +1,2 @@ +const a = 2; +console.log(a); diff --git a/tests/specs/check/module_detection_force/module_detection_force/main.ts b/tests/specs/check/module_detection_force/module_detection_force/main.ts new file mode 100644 index 000000000..a55c9962b --- /dev/null +++ b/tests/specs/check/module_detection_force/module_detection_force/main.ts @@ -0,0 +1,3 @@ +const a = 1; +await import("./import.ts"); +console.log(a); -- cgit v1.2.3