1 | import { ISpyCall } from "../_interfaces";
|
2 | export declare class FunctionSpy {
|
3 | protected returnValue: any;
|
4 | protected hasReturnValue: boolean;
|
5 | protected isStubbed: boolean;
|
6 | protected context: any;
|
7 | private _fakeFunction;
|
8 | private _calls;
|
9 | get calls(): ISpyCall[];
|
10 | callsWithArguments(...args: Array<any>): Array<ISpyCall>;
|
11 | call(...args: Array<any>): any;
|
12 | andReturn(returnValue: any): void;
|
13 | andCall(fakeFunction: () => any): void;
|
14 | }
|