forked from Cutlery/immich
* 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(),
|
|
};
|
|
};
|