mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
84f7ca855a
move domain interfaces
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
import { IMachineLearningRepository } from 'src/interfaces/machine-learning.repository';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|