Skip to content

Commit

Permalink
Update packages/jest-mock/src/__tests__/index.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
  • Loading branch information
Biki-das and SimenB committed Feb 2, 2022
1 parent 255b0a8 commit 41a82d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-mock/src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ describe('moduleMocker', () => {

mock.mockReset();

expect(mock.mock.lastCall).toBeUndefined();
expect(mock.mock).not.toHaveProperty('lastCall');
});

test('mockName gets reset by mockReset', () => {
Expand Down

0 comments on commit 41a82d4

Please sign in to comment.