From acc32e1cee043ef7233a94bcf5645c4a842ed13a Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Mon, 16 Sep 2024 20:08:00 +0300 Subject: chore: move info itests (#25659) --- tests/specs/info_tests/json_file/json_output/main.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/specs/info_tests/json_file/json_output/main.ts (limited to 'tests/specs/info_tests/json_file/json_output/main.ts') diff --git a/tests/specs/info_tests/json_file/json_output/main.ts b/tests/specs/info_tests/json_file/json_output/main.ts new file mode 100644 index 000000000..d9029af8a --- /dev/null +++ b/tests/specs/info_tests/json_file/json_output/main.ts @@ -0,0 +1,11 @@ +import { printHello3, returnsFoo2, returnsHi } from "../mod1.ts"; + +printHello3(); + +if (returnsHi() !== "Hi") { + throw Error("Unexpected"); +} + +if (returnsFoo2() !== "Foo") { + throw Error("Unexpected"); +} -- cgit v1.2.3