From 243088e51cdbc5d3f76a1ec33cdaffdf5d37d641 Mon Sep 17 00:00:00 2001 From: Patrick Ear Date: Thu, 19 Sep 2024 17:26:47 +0200 Subject: [PATCH] move timeout --- src/react/locations/__tests__/LocationList.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' }); });