From 783533d2e354ad73356d7517b26293e48c10fc17 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 30 Apr 2024 05:43:05 +0900 Subject: FUTURE: remove import assertions support for JavaScript (#23541) Ref #17944, https://github.com/swc-project/swc/issues/8893 TypeScript removes the `assert` keywords in the transpile, so this PR only works for JavaScript files --- tests/integration/run_tests.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/integration/run_tests.rs') diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index e28251b23..e92fd3627 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -1694,16 +1694,6 @@ fn type_directives_js_main() { assert_not_contains!(output.combined_output(), "type_reference.d.ts"); } -#[test] -fn test_deno_futures_env() { - let context = TestContextBuilder::new().add_future_env_vars().build(); - let output = context - .new_command() - .args("run --quiet --reload run/deno_futures_env.ts") - .run(); - output.assert_exit_code(0); -} - itest!(type_directives_redirect { args: "run --reload --check run/type_directives_redirect.ts", output: "run/type_directives_redirect.ts.out", -- cgit v1.2.3