We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e5b1d6 commit ef91356Copy full SHA for ef91356
packages/jest-snapshot/src/__tests__/mockSerializer.test.ts
@@ -14,7 +14,7 @@ test('mock with 0 calls and default name', () => {
14
});
15
16
test('mock with 2 calls, 1 return, 1 throw', () => {
17
- const fn = jest.fn(value => {
+ const fn = jest.fn((value: number) => {
18
if (value % 2 === 0) {
19
return value * 2;
20
} else {
0 commit comments