mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 10:56:47 +01:00
8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
10 lines
288 B
TypeScript
10 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(),
|
|
};
|
|
};
|