foundation-testing.withtestharness
Home > @genesislcap/foundation-testing > WithTestHarness
WithTestHarness type
Type can be used to inform Typescript the object decorated with testSpy() has function spies which can be interacted upon their normal function reference
Signature:
export type WithTestHarness<T extends {
[k in keyof T]: any;
}> = T & SinonWrapper<SpiedFunctions<T>>;
References: SinonWrapper, SpiedFunctions