From 28a72d548801f81a96ff4bba750d8dc51a2b1567 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 11 May 2023 17:17:14 -0400 Subject: feat(lsp): ability to configure document pre-load limit (#19097) Adds a `deno.preloadLimit` option (ex. `"deno.preloadLimit": 2000`) which specifies how many file entries to traverse on the file system when the lsp loads or its configuration changes. Closes #18955 --- cli/tests/integration/repl_tests.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/tests/integration/repl_tests.rs') diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs index 517fda1b7..e6fc7aa91 100644 --- a/cli/tests/integration/repl_tests.rs +++ b/cli/tests/integration/repl_tests.rs @@ -1014,9 +1014,6 @@ fn closed_file_pre_load_does_not_occur() { .new_command() .args_vec(["repl", "-A", "--log-level=debug"]) .with_pty(|console| { - assert_contains!( - console.all_output(), - "Skipping document preload for repl.", - ); + assert_contains!(console.all_output(), "Skipping document preload.",); }); } -- cgit v1.2.3