Skip to content

Commit

Permalink
fix spying on wrong function
Browse files Browse the repository at this point in the history
  • Loading branch information
charkour committed Mar 10, 2024
1 parent 73f8316 commit c0a1df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__tests__/options.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ describe('Middleware options', () => {
expect(storeWithHandleSet.temporal.getState().futureStates.length).toBe(
2,
);
expect(console.warn).toHaveBeenCalledTimes(2);
expect(console.error).toHaveBeenCalledTimes(3);
});

it('should not call throttle function if partialized state is unchanged according to equality fn', () => {
Expand Down

0 comments on commit c0a1df0

Please sign in to comment.