Skip to main content
Version: Current

foundation-testing.restoretestharness

Home > @genesislcap/foundation-testing > restoreTestHarness

restoreTestHarness() function

Restores the spied functions back to the original functions without the spies.

Signature:

export declare function restoreTestHarness<T>(wrapper: WithTestHarness<T>): void;

Parameters

ParameterTypeDescription
wrapperWithTestHarness<T>WithTestHarness<T> object to restore

Returns:

void