From 3e962e742fe47ff912c84d57f683c5a31aed31a1 Mon Sep 17 00:00:00 2001 From: "Carina.Akaia.io" Date: Tue, 4 Jun 2024 17:46:14 +0400 Subject: [PATCH] Set async test timeouts to 5s --- src/app/tests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tests.tsx b/src/app/tests.tsx index 02a79e23..b0281ec4 100644 --- a/src/app/tests.tsx +++ b/src/app/tests.tsx @@ -19,7 +19,7 @@ test("Homepage", async () => { "project cards loaded", ).toBeDefined(), - { timeout: 2000 }, + { timeout: 5000 }, ); const projectTitles = screen.getAllByTestId("project-card-title"); @@ -37,6 +37,6 @@ test("Homepage", async () => { "project fundraising amounts", ).toBeTruthy(), - { timeout: 2000 }, + { timeout: 5000 }, ); });