From 48dd915c122d3d5167186e4db222cc2266a568c3 Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Fri, 6 Dec 2024 05:15:50 -0600 Subject: [PATCH] Properly `await` assertion in `tests/fork.test.ts` --- packages/toolkit/src/listenerMiddleware/tests/fork.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<{