UNPKG

345 BTypeScriptView Raw
1import { FunctionSpy } from "../spying";
2export declare class RestorableFunctionSpy extends FunctionSpy {
3 private _originalFunction;
4 private _functionName;
5 private _target;
6 constructor(target: any, functionName: string);
7 restore(): void;
8 andCallThrough(): void;
9 andStub(): void;
10 call(...args: Array<any>): any;
11}