From 8dc211d47cf04d88c4bf85856492427a2aa0cd5a Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Fri, 11 Oct 2024 15:32:26 +0200 Subject: [PATCH] Fixed test --- tests/integration/watcher_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs index 5f236d7bda..eccd0c4468 100644 --- a/tests/integration/watcher_tests.rs +++ b/tests/integration/watcher_tests.rs @@ -944,6 +944,7 @@ async fn test_watch_basic() { // Confirm that restarting occurs when a new file is updated another_test.write("Deno.test('another one', () => 3 + 3); Deno.test('another another one', () => 4 + 4)"); assert_contains!(next_line(&mut stderr_lines).await.unwrap(), "Restarting"); + next_line(&mut stdout_lines).await; assert_contains!( next_line(&mut stdout_lines).await.unwrap(), "running 2 tests"