UNPKG

strong-mock

Version:

Type safe mocking library for TypeScript

11 lines (10 loc) 826 B
import type { Expectation } from './expectation/expectation'; import type { ReturnValue } from './expectation/repository/return-value'; import type { Property } from './proxy'; export declare const printProperty: (property: Property) => string; export declare const printValue: (arg: unknown) => string; export declare const printCall: (property: Property, args?: any[]) => string; export declare const printReturns: ({ isError, isPromise, value }: ReturnValue, min: number, max: number) => string; export declare const printWhen: (property: Property, args: any[] | undefined) => string; export declare const printExpectation: (property: Property, args: any[] | undefined, returnValue: ReturnValue, min: number, max: number) => string; export declare const printRemainingExpectations: (expectations: Expectation[]) => string;