mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #23876 from a-xin/patch-1
[jest] update jest.clearAllMocks() description and remove @deprecated
This commit is contained in:
Vendored
+2
-1
@@ -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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user