mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
386eef046d
* refactor: job to domain * chore: regenerate open api * chore: tests * fix: missing breaks * fix: get asset with missing exif data --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
import { IJobRepository } from '../src';
|
|
|
|
export const newJobRepositoryMock = (): jest.Mocked<IJobRepository> => {
|
|
return {
|
|
empty: jest.fn(),
|
|
pause: jest.fn(),
|
|
queue: jest.fn().mockImplementation(() => Promise.resolve()),
|
|
isActive: jest.fn(),
|
|
getJobCounts: jest.fn(),
|
|
};
|
|
};
|