1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01:00
immich/server/test/repositories/shared-link.repository.mock.ts
2024-03-21 06:59:49 -05:00

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(),
};
};