Skip to content

Commit

Permalink
test: add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpedemonte committed Jul 25, 2024
1 parent f9b5aea commit 8d26241
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,10 @@ describe('DocumentPreview', () => {
);

// evidence PDF rendered
const elem = await screen.findByText('ART EFFECTS LIMITED', {}, { timeout: 5000 });
let elem = await screen.findByText('ART EFFECTS LIMITED', {}, { timeout: 5000 });
expect(elem).toBeInTheDocument();
// check that 58 pages were found
elem = await screen.findByText('58 pages', { exact: false });
expect(elem).toBeInTheDocument();
},
THIRTY_SECONDS
Expand Down

0 comments on commit 8d26241

Please sign in to comment.