mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 05:16:47 +01:00
631f13cf2f
* removed object detection job * removed object detection endpoint
10 lines
283 B
TypeScript
10 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(),
|
|
};
|
|
};
|