From c232ecc6af5a09a8f0480e3b2b87ef2cd2b3a348 Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Wed, 25 Sep 2024 21:46:18 +0300 Subject: chore: deprecate npm itests (#25804) --- tests/testdata/npm/file_dts_dmts_dcts/main.out | 24 ------------------------ tests/testdata/npm/file_dts_dmts_dcts/main.ts | 9 --------- 2 files changed, 33 deletions(-) delete mode 100644 tests/testdata/npm/file_dts_dmts_dcts/main.out delete mode 100644 tests/testdata/npm/file_dts_dmts_dcts/main.ts (limited to 'tests/testdata/npm/file_dts_dmts_dcts') diff --git a/tests/testdata/npm/file_dts_dmts_dcts/main.out b/tests/testdata/npm/file_dts_dmts_dcts/main.out deleted file mode 100644 index 507d2c2f7..000000000 --- a/tests/testdata/npm/file_dts_dmts_dcts/main.out +++ /dev/null @@ -1,24 +0,0 @@ -Download http://localhost:4260/@denotest/file-dts-dmts-dcts -Download http://localhost:4260/@denotest/file-dts-dmts-dcts/1.0.0.tgz -Check file:///[WILDCARD]/main.ts -error: TS2322 [ERROR]: Type '5' is not assignable to type '"dts"'. -const value1: Dts1 = 5; - ~~~~~~ - at file:///[WILDCARD] - -TS2322 [ERROR]: Type '5' is not assignable to type '"mts"'. -const value2: Mts1 = 5; - ~~~~~~ - at file:///[WILDCARD] - -TS2322 [ERROR]: Type '5' is not assignable to type '"mts"'. -const value3: Mts2 = 5; - ~~~~~~ - at file:///[WILDCARD] - -TS2322 [ERROR]: Type '5' is not assignable to type '"cts"'. -const value4: Cts1 = 5; - ~~~~~~ - at file:///[WILDCARD] - -Found 4 errors. diff --git a/tests/testdata/npm/file_dts_dmts_dcts/main.ts b/tests/testdata/npm/file_dts_dmts_dcts/main.ts deleted file mode 100644 index 63686e2d3..000000000 --- a/tests/testdata/npm/file_dts_dmts_dcts/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Value as Dts1 } from "npm:@denotest/file-dts-dmts-dcts/js"; -import { Value as Mts1 } from "npm:@denotest/file-dts-dmts-dcts"; -import { Value as Mts2 } from "npm:@denotest/file-dts-dmts-dcts/mjs"; -import { Value as Cts1 } from "npm:@denotest/file-dts-dmts-dcts/cjs"; - -const value1: Dts1 = 5; -const value2: Mts1 = 5; -const value3: Mts2 = 5; -const value4: Cts1 = 5; -- cgit v1.2.3