Skip to content

Function: resetFunctionMock() ​

ts
function resetFunctionMock(callable: AnyCallable): void;

Reset a jest mock function.

Parameters ​

ParameterTypeDescription
callableAnyCallableFunction expected to be a jest mock.

Returns ​

void