From ef84607f49ed476049784449c3f2a940407cb81b Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Thu, 28 Nov 2024 17:09:44 -0500 Subject: [PATCH] Tweak delay time --- packages/toolkit/src/query/tests/optimisticUpserts.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/src/query/tests/optimisticUpserts.test.tsx b/packages/toolkit/src/query/tests/optimisticUpserts.test.tsx index 600c433aab..e6abcfa8b0 100644 --- a/packages/toolkit/src/query/tests/optimisticUpserts.test.tsx +++ b/packages/toolkit/src/query/tests/optimisticUpserts.test.tsx @@ -400,7 +400,7 @@ describe('upsertQueryEntries', () => { // Tricky timing. The cache data promises will be resolved // in microtasks, so we just need any async delay here. - await delay(1) + await delay(10) const state = storeRef.store.getState()