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>
11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
import { IMachineLearningRepository } from '../src';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
classifyImage: jest.fn(),
|
|
detectObjects: jest.fn(),
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
};
|
|
};
|