jest-mock-extended
Version:
Type safe mocking extensions for jest
7 lines (6 loc) • 629 B
TypeScript
export { JestMockExtended, GlobalConfig, mockDeep, MockProxy, DeepMockProxy, CalledWithMock, mockClear, mockReset, mockFn, stub, } from './Mock';
export declare const mock: <T, MockedReturn extends import("./Mock")._MockProxy<T> & T = import("./Mock")._MockProxy<T> & T>(mockImplementation?: import("ts-essentials").DeepPartial<T>, opts?: import("./Mock").MockOpts | undefined) => MockedReturn;
export declare const calledWithFn: <T extends import("jest-mock").FunctionLike>({ fallbackMockImplementation, }?: {
fallbackMockImplementation?: T | undefined;
}) => import("./Mock").CalledWithMock<T>;
export * from './Matchers';