mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 21:36:46 +01:00
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
|
import { ISearchRepository } from '../src';
|
||
|
|
||
|
export const newSearchRepositoryMock = (): jest.Mocked<ISearchRepository> => {
|
||
|
return {
|
||
|
setup: jest.fn(),
|
||
|
checkMigrationStatus: jest.fn(),
|
||
|
index: jest.fn(),
|
||
|
import: jest.fn(),
|
||
|
search: jest.fn(),
|
||
|
delete: jest.fn(),
|
||
|
};
|
||
|
};
|