mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 18:42:17 -07:00
631f13cf2f
* removed object detection job * removed object detection endpoint
11 lines
283 B
TypeScript
11 lines
283 B
TypeScript
import { IMachineLearningRepository } from '../src';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
classifyImage: jest.fn(),
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|