Skip to main content

method MockTracker.prototype.restoreAll

#MockTracker.prototype.restoreAll(): void

This function restores the default behavior of all mocks that were previously created by this MockTracker. Unlike mock.reset(), mock.restoreAll() does not disassociate the mocks from the MockTracker instance.

Return Type #

void

Did you find what you needed?

Privacy policy