strong-mock
Version:
Type safe mocking library for TypeScript
14 lines (13 loc) • 412 B
TypeScript
import type { Property } from '../proxy';
export declare class UnfinishedExpectation extends Error {
constructor(property: Property, args: any[] | undefined);
}
export declare class MissingWhen extends Error {
constructor();
}
export declare class NotAMock extends Error {
constructor();
}
export declare class NestedWhen extends Error {
constructor(parentProp: Property, childProp: Property);
}