mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02: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(),
|
|
};
|
|
};
|