MCPcopy
hub / github.com/facebook/react / mockClear

Method mockClear

scripts/jest/typescript/jest.d.ts:63–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 instances: Array<Object>;
62 };
63 mockClear(): void;
64 mockImplementation(fn: Function): MockFunction;
65 mockImpl(fn: Function): MockFunction;
66 mockReturnThis(): MockFunction;

Calls

no outgoing calls

Tested by 4

assertCallsFunction · 0.64
clearMocksFunction · 0.64
TestFunction · 0.64
expectErrorsFunction · 0.64