UNPKG

jest-automock

Version:

A small library used to mock an instance of a class using jest, perfect for mocking injected dependencies.

4 lines 179 B
/// <reference types="jest" /> import { Type } from './interfaces/type'; export declare function autoMock<T>(ref: Type<T>): jest.Mocked<T>; //# sourceMappingURL=auto-mock.d.ts.map