Skip to content

Commit

Permalink
Increased timeout again to see if all tests will now pass on github
Browse files Browse the repository at this point in the history
  • Loading branch information
downiec committed Sep 14, 2024
1 parent 727f23d commit 3dadcaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Cart/Items.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const user = userEvent.setup();

const activeSearch: ActiveSearchQuery = getSearchFromUrl('project=test1');

jest.setTimeout(80000);
jest.setTimeout(100000);

describe('test the cart items component', () => {
it('renders message that the cart is empty when no items are added', async () => {
Expand All @@ -31,7 +31,7 @@ describe('test the cart items component', () => {
// Check empty cart text renders
const emptyCart = await screen.findByText('Your cart is empty');
expect(emptyCart).toBeTruthy();
}, 100000);
});

it('removes all items from the cart when confirming the popconfirm', async () => {
customRender(<App searchQuery={activeSearch} />);
Expand Down

0 comments on commit 3dadcaf

Please sign in to comment.