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
Parameter | Type | Description |
---|---|---|
wrapper | WithTestHarness<T> | WithTestHarness<T> object to restore |
Returns:
void