mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
30f499cf2e
update server to use absolute import paths
9 lines
298 B
TypeScript
9 lines
298 B
TypeScript
import { IMachineLearningRepository } from 'src/domain/repositories/machine-learning.repository';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|