Skip to content

Commit

Permalink
Properly await assertion in tests/fork.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Dec 6, 2024
1 parent 876883d commit 48dd915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/listenerMiddleware/tests/fork.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('fork', () => {
})
store.dispatch(increment())

expect(storeStateAfter).resolves.toEqual({ value: 1 })
await expect(storeStateAfter).resolves.toEqual({ value: 1 })
})

it.each<{
Expand Down

0 comments on commit 48dd915

Please sign in to comment.