From 94bdebe3998d503c625dbf093c40d7cb9d694d7c Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Sat, 21 Sep 2024 02:08:32 +0530 Subject: refactor(tests): migrate npm itests to specs (#25764) Towards https://github.com/denoland/deno/issues/25241 --- tests/specs/npm/node_modules_import/main_check.out | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/specs/npm/node_modules_import/main_check.out (limited to 'tests/specs/npm/node_modules_import/main_check.out') diff --git a/tests/specs/npm/node_modules_import/main_check.out b/tests/specs/npm/node_modules_import/main_check.out new file mode 100644 index 000000000..7fd7013fc --- /dev/null +++ b/tests/specs/npm/node_modules_import/main_check.out @@ -0,0 +1,16 @@ +error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. +const value1: string = myImport1.getValue(); + ~~~~~~ + at file:///[WILDCARD]/main.ts:9:7 + +TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. +const value2: string = myImport2.getValue(); + ~~~~~~ + at file:///[WILDCARD]/main.ts:10:7 + +TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. +const value3: string = myImport3.getValue(); + ~~~~~~ + at file:///[WILDCARD]/main.ts:11:7 + +Found 3 errors. -- cgit v1.2.3