diff --git a/src/react/locations/__tests__/LocationList.test.tsx b/src/react/locations/__tests__/LocationList.test.tsx index 27ed87e32..4207558f6 100644 --- a/src/react/locations/__tests__/LocationList.test.tsx +++ b/src/react/locations/__tests__/LocationList.test.tsx @@ -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( @@ -33,7 +35,6 @@ const server = setupServer( describe('LocationList', () => { beforeAll(() => { - jest.setTimeout(30_000); mockOffsetSize(500, 100); server.listen({ onUnhandledRequest: 'error' }); });