UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

12 lines (11 loc) 345 B
import { FunctionSpy } from "../spying"; export declare class RestorableFunctionSpy extends FunctionSpy { private _originalFunction; private _functionName; private _target; constructor(target: any, functionName: string); restore(): void; andCallThrough(): void; andStub(): void; call(...args: Array<any>): any; }