mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 10:58:53 -07:00
17 lines
429 B
TypeScript
17 lines
429 B
TypeScript
import { ISearchRepository } from '../src';
|
|
|
|
export const newSearchRepositoryMock = (): jest.Mocked<ISearchRepository> => {
|
|
return {
|
|
setup: jest.fn(),
|
|
checkMigrationStatus: jest.fn(),
|
|
importAssets: jest.fn(),
|
|
importAlbums: jest.fn(),
|
|
deleteAlbums: jest.fn(),
|
|
deleteAssets: jest.fn(),
|
|
searchAssets: jest.fn(),
|
|
searchAlbums: jest.fn(),
|
|
vectorSearch: jest.fn(),
|
|
explore: jest.fn(),
|
|
};
|
|
};
|