immich/server/test/repositories/smart-info.repository.mock.ts
2023-12-08 11:15:46 -05:00

11 lines
256 B
TypeScript

import { ISmartInfoRepository } from '@app/domain';
export const newSmartInfoRepositoryMock = (): jest.Mocked<ISmartInfoRepository> => {
return {
init: jest.fn(),
searchCLIP: jest.fn(),
searchFaces: jest.fn(),
upsert: jest.fn(),
};
};