mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
b588a87d4a
rename domain repositories
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
import { IMachineLearningRepository } from 'src/interfaces/machine-learning.interface';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|