Skip to main content

method MockFunctionContext.prototype.restore

#MockFunctionContext.prototype.restore(): void

Resets the implementation of the mock function to its original behavior. The mock can still be used after calling this function.

Return Type #

void

Did you find what you needed?

Privacy policy