From b9f8b393dab2b04b095c8e559276fa7f8bb4db5b Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Mon, 10 Jul 2023 22:29:31 +0200 Subject: [PATCH] Fixed failing unit tests? --- .../strictAndConcurrentModeUsingFinalizationRegistry.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mobx-react-lite/__tests__/strictAndConcurrentModeUsingFinalizationRegistry.test.tsx b/packages/mobx-react-lite/__tests__/strictAndConcurrentModeUsingFinalizationRegistry.test.tsx index 18df16ed9..0b0071ba0 100644 --- a/packages/mobx-react-lite/__tests__/strictAndConcurrentModeUsingFinalizationRegistry.test.tsx +++ b/packages/mobx-react-lite/__tests__/strictAndConcurrentModeUsingFinalizationRegistry.test.tsx @@ -14,6 +14,7 @@ expect(observerFinalizationRegistry).toBeInstanceOf(globalThis.FinalizationRegis afterEach(cleanup) test("uncommitted components should not leak observations", async () => { + jest.setTimeout(30_000) const store = mobx.observable({ count1: 0, count2: 0 }) // Track whether counts are observed