mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 10:58:53 -07:00
12 lines
313 B
TypeScript
12 lines
313 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(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|