From 04a9cc95ac1349ab192c93c231c1ac97ee02fb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 9 Sep 2024 21:51:55 +0100 Subject: feat: Add better error messages for unstable APIs (#25519) This commit improves error messages for unstable APIs: - `--unstable-broadcast-channel` - `--unstable-cron` - `--unstable-http` - `--unstable-kv` - `--unstable-temporal` By providing information and hints what went wrong and how the error can be fixed. It reuses the same infra that was added in https://github.com/denoland/deno/pull/21764. --- tests/integration/run_tests.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index 16faba438..301283e85 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -4811,13 +4811,6 @@ itest!(unstable_temporal_api_config_file { exit_code: 0, }); -itest!(unstable_temporal_api_missing_flag { - args: "run --no-config run/unstable_temporal_api/missing_flag.js", - output: "run/unstable_temporal_api/missing_flag.out", - http_server: false, - exit_code: 1, -}); - // TODO(bartlomieju): temporary disabled // itest!(warn_on_deprecated_api { // args: "run -A run/warn_on_deprecated_api/main.js", -- cgit v1.2.3