UNPKG

ts-mocks-wallaby

Version:

Use ts-mocks to create Mock<T> objects for during Unit Tests And make sur eit's compatible with wallabyjs.com instrumentation

13 lines (12 loc) 389 B
/// <reference types="jasmine" /> export declare class Setup<T, TReturn> { private object; private key; private spy; constructor(object: T, key: keyof T); readonly Spy: jasmine.Spy; /** Setup the return value for the setup of the property */ is(value: TReturn): Setup<T, TReturn>; /** deprecated use is() */ returns(value: TReturn): void; }