Skip to content

Commit

Permalink
Update packages/expect/src/__tests__/customEqualityTesters.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
  • Loading branch information
andrewiggins and mrazauskas committed Dec 2, 2022
1 parent 144f351 commit 466265c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -201,7 +201,7 @@ describe('with custom equality testers', () => {
});

it('spy matchers pass different special objects', () => {
const mockFn: (...args: Array<any>) => any = jest.fn(() => specialReturn1);
const mockFn = jest.fn<(...args: Array<unknown>) => unknown>(() => specialReturn1);
mockFn(...testArgs);

expect(mockFn).toHaveBeenCalledWith(...expectedArgs);
Expand Down

0 comments on commit 466265c

Please sign in to comment.