From 89f0b796bd442ff352c3f93f69156ca6d85bfd5e Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Tue, 5 Nov 2024 08:39:05 +0200 Subject: chore: deprecate run itests (#26444) --- tests/testdata/run/with_config/auto_discovery_log.out | 4 ---- tests/testdata/run/with_config/deno.jsonc | 6 ------ tests/testdata/run/with_config/frontend_work.ts | 4 ---- tests/testdata/run/with_config/no_auto_discovery.out | 4 ---- tests/testdata/run/with_config/server_side_work.ts | 2 -- 5 files changed, 20 deletions(-) delete mode 100644 tests/testdata/run/with_config/auto_discovery_log.out delete mode 100644 tests/testdata/run/with_config/deno.jsonc delete mode 100644 tests/testdata/run/with_config/frontend_work.ts delete mode 100644 tests/testdata/run/with_config/no_auto_discovery.out delete mode 100644 tests/testdata/run/with_config/server_side_work.ts (limited to 'tests/testdata/run/with_config') diff --git a/tests/testdata/run/with_config/auto_discovery_log.out b/tests/testdata/run/with_config/auto_discovery_log.out deleted file mode 100644 index 1a25eb9a7..000000000 --- a/tests/testdata/run/with_config/auto_discovery_log.out +++ /dev/null @@ -1,4 +0,0 @@ -DEBUG RS - [WILDCARD] - Config file found at '[WILDCARD]deno.jsonc' -[WILDCARD] -ok -[WILDCARD] diff --git a/tests/testdata/run/with_config/deno.jsonc b/tests/testdata/run/with_config/deno.jsonc deleted file mode 100644 index 9017fac30..000000000 --- a/tests/testdata/run/with_config/deno.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - // type settings for frontend dev - "compilerOptions": { - "lib": ["esnext", "dom"] - } -} diff --git a/tests/testdata/run/with_config/frontend_work.ts b/tests/testdata/run/with_config/frontend_work.ts deleted file mode 100644 index 783af44e4..000000000 --- a/tests/testdata/run/with_config/frontend_work.ts +++ /dev/null @@ -1,4 +0,0 @@ -function _main() { - console.log(document); -} -console.log("ok"); diff --git a/tests/testdata/run/with_config/no_auto_discovery.out b/tests/testdata/run/with_config/no_auto_discovery.out deleted file mode 100644 index 59339ebe5..000000000 --- a/tests/testdata/run/with_config/no_auto_discovery.out +++ /dev/null @@ -1,4 +0,0 @@ -error: TS2584 [ERROR]: Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'. - console.log(document); - ~~~~~~~~ - at [WILDCARD]run/with_config/frontend_work.ts:2:15 diff --git a/tests/testdata/run/with_config/server_side_work.ts b/tests/testdata/run/with_config/server_side_work.ts deleted file mode 100644 index 12db2ab05..000000000 --- a/tests/testdata/run/with_config/server_side_work.ts +++ /dev/null @@ -1,2 +0,0 @@ -const _ = Deno.build.os; -console.log("ok"); -- cgit v1.2.3