1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-23 02:06:15 +02:00
immich/server/test/repositories/machine-learning.repository.mock.ts

10 lines
288 B
TypeScript
Raw Normal View History

import { IMachineLearningRepository } from 'src/interfaces/machine-learning.interface';
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
return {
encodeImage: jest.fn(),
encodeText: jest.fn(),
2023-05-17 19:07:17 +02:00
detectFaces: jest.fn(),
};
};