diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-28 20:37:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 19:37:54 +0000 |
| commit | 231bdc0aa0c08914735001f5e1261e1808d68190 (patch) | |
| tree | 89f2e8c584d1627a842da7d09eb9d8b70cedcc8e /tests/integration/js_unit_tests.rs | |
| parent | 64037b1f027ac977a0f227669d367cf2e1c71791 (diff) | |
test: Don't run unit tests with and without `DENO_FUTURE=1` (#25273)
This is still flaky and won't be needed anyway once
https://github.com/denoland/deno/pull/25213 lands.
Diffstat (limited to 'tests/integration/js_unit_tests.rs')
| -rw-r--r-- | tests/integration/js_unit_tests.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/integration/js_unit_tests.rs b/tests/integration/js_unit_tests.rs index bc6c5bdae..cbae4a0b8 100644 --- a/tests/integration/js_unit_tests.rs +++ b/tests/integration/js_unit_tests.rs @@ -117,10 +117,6 @@ util::unit_test_factory!( ); fn js_unit_test(test: String) { - js_unit_test_inner(test, false); -} - -pub fn js_unit_test_inner(test: String, future: bool) { let _g = util::http_server(); let deno = util::deno_cmd() @@ -133,12 +129,6 @@ pub fn js_unit_test_inner(test: String, future: bool) { .arg("--location=http://127.0.0.1:4545/") .arg("--no-prompt"); - let deno = if future { - deno.env("DENO_FUTURE", "1") - } else { - deno - }; - // TODO(mmastrac): it would be better to just load a test CA for all tests let deno = if test == "websocket_test" || test == "tls_sni_test" { deno.arg("--unsafely-ignore-certificate-errors") |
