diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index f83c386d09..e82da44d3c 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -56,7 +56,8 @@ declare namespace jest { */ function autoMockOn(): typeof jest; /** - * @deprecated use resetAllMocks instead + * Clears the mock.calls and mock.instances properties of all mocks. + * Equivalent to calling .mockClear() on every mocked function. */ function clearAllMocks(): typeof jest; /**