From 65e1228a5243df80981e61cc41ddae80f811e2bd Mon Sep 17 00:00:00 2001 From: Javier Pedemonte Date: Wed, 24 Jul 2024 12:13:03 -0500 Subject: [PATCH] test: extend timeout --- .../DocumentPreview/__tests__/DocumentPreview.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx b/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx index 0ec80f1e..231b3b8b 100644 --- a/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx +++ b/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx @@ -252,7 +252,7 @@ describe('DocumentPreview', () => { ); // evidence PDF rendered - const elem = await screen.findByText('ART EFFECTS LIMITED'); + const elem = await screen.findByText('ART EFFECTS LIMITED', {}, { timeout: 5000 }); expect(elem).toBeInTheDocument(); }, THIRTY_SECONDS