@johanblumenberg/ts-mockito
Version:
Mocking library for TypeScript
20 lines (19 loc) • 584 B
TypeScript
import { Matcher } from "./matcher/type/Matcher";
import { MethodStubCollection } from "./MethodStubCollection";
import { Mocker } from "./Mock";
declare class Watcher {
private err;
private inv;
constructor(err: Error);
invoked(): void;
private nextTick;
}
export declare class MethodToStub {
methodStubCollection: MethodStubCollection;
matchers: Matcher[];
mocker: Mocker;
methodName: string;
watcher: Watcher;
constructor(methodStubCollection: MethodStubCollection, matchers: Matcher[], mocker: Mocker, methodName: string);
}
export {};