mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
12 lines
279 B
TypeScript
12 lines
279 B
TypeScript
|
import { ISearchRepository } from '@app/domain';
|
||
|
|
||
|
export const newSearchRepositoryMock = (): jest.Mocked<ISearchRepository> => {
|
||
|
return {
|
||
|
init: jest.fn(),
|
||
|
searchMetadata: jest.fn(),
|
||
|
searchSmart: jest.fn(),
|
||
|
searchFaces: jest.fn(),
|
||
|
upsert: jest.fn(),
|
||
|
};
|
||
|
};
|