mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 11:24:37 +02:00
8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
11 lines
288 B
TypeScript
11 lines
288 B
TypeScript
import { IMachineLearningRepository } from '@app/domain';
|
|
|
|
export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
|
|
return {
|
|
classifyImage: jest.fn(),
|
|
encodeImage: jest.fn(),
|
|
encodeText: jest.fn(),
|
|
detectFaces: jest.fn(),
|
|
};
|
|
};
|