import { IJobRepository } from '../src'; export const newJobRepositoryMock = (): jest.Mocked => { return { empty: jest.fn(), queue: jest.fn().mockImplementation(() => Promise.resolve()), isActive: jest.fn(), getJobCounts: jest.fn(), }; };