mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
b588a87d4a
rename domain repositories
12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
import { ISharedLinkRepository } from 'src/interfaces/shared-link.interface';
|
|
|
|
export const newSharedLinkRepositoryMock = (): jest.Mocked<ISharedLinkRepository> => {
|
|
return {
|
|
getAll: jest.fn(),
|
|
get: jest.fn(),
|
|
getByKey: jest.fn(),
|
|
create: jest.fn(),
|
|
remove: jest.fn(),
|
|
update: jest.fn(),
|
|
};
|
|
};
|