From 01afb672e12c7ef3fe1cc09330aa26ca4a29b699 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 8 Dec 2022 11:56:47 -0500 Subject: [PATCH] chore: fix pty_complete_imports test (#16992) This test doesn't run on the CI. --- cli/tests/repl_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/repl_tests.rs b/cli/tests/repl_tests.rs index 4524b40972..d1af6d8449 100644 --- a/cli/tests/repl_tests.rs +++ b/cli/tests/repl_tests.rs @@ -161,7 +161,7 @@ mod repl { #[test] fn pty_complete_imports() { - util::with_pty(&["repl"], |mut console| { + util::with_pty(&["repl", "-A"], |mut console| { // single quotes console.write_line("import './run/001_hel\t'"); // double quotes @@ -181,7 +181,7 @@ mod repl { }); // ensure when the directory changes that the suggestions come from the cwd - util::with_pty(&["repl"], |mut console| { + util::with_pty(&["repl", "-A"], |mut console| { console.write_line("Deno.chdir('./subdir');"); console.write_line("import '../run/001_hel\t'"); console.write_line("close();");