Skip to content

Commit

Permalink
move timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Sep 19, 2024
1 parent eefb3b6 commit 243088e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react/locations/__tests__/LocationList.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import {
import { INSTANCE_ID } from '../../actions/__tests__/utils/testUtil';
import { LocationsList } from '../LocationsList';

jest.setTimeout(30_000);

const server = setupServer(
getConfigOverlay(TEST_API_BASE_URL, INSTANCE_ID),
...getStorageConsumptionMetricsHandlers(
Expand All @@ -33,7 +35,6 @@ const server = setupServer(

describe('LocationList', () => {
beforeAll(() => {
jest.setTimeout(30_000);
mockOffsetSize(500, 100);
server.listen({ onUnhandledRequest: 'error' });
});
Expand Down

0 comments on commit 243088e

Please sign in to comment.