diff --git a/packages/toolkit/src/listenerMiddleware/tests/fork.test.ts b/packages/toolkit/src/listenerMiddleware/tests/fork.test.ts index e12f5f673b..cbb67f6348 100644 --- a/packages/toolkit/src/listenerMiddleware/tests/fork.test.ts +++ b/packages/toolkit/src/listenerMiddleware/tests/fork.test.ts @@ -179,7 +179,7 @@ describe('fork', () => { }) store.dispatch(increment()) - expect(storeStateAfter).resolves.toEqual({ value: 1 }) + await expect(storeStateAfter).resolves.toEqual({ value: 1 }) }) it.each<{