From 41a82d4bc680ef626ee1de2e5488da0febdecbd9 Mon Sep 17 00:00:00 2001 From: BIKI DAS Date: Wed, 2 Feb 2022 14:26:25 +0530 Subject: [PATCH] Update packages/jest-mock/src/__tests__/index.test.ts Co-authored-by: Simen Bekkhus --- packages/jest-mock/src/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-mock/src/__tests__/index.test.ts b/packages/jest-mock/src/__tests__/index.test.ts index d91d2ccbffcc..d01c6243d92b 100644 --- a/packages/jest-mock/src/__tests__/index.test.ts +++ b/packages/jest-mock/src/__tests__/index.test.ts @@ -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', () => {