1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/server/test/repositories/partner.repository.mock.ts
Daniel Dietzler 84f7ca855a
chore(server): move domain interfaces (#8124)
move domain interfaces
2024-03-20 16:42:58 -04:00

11 lines
285 B
TypeScript

import { IPartnerRepository } from 'src/interfaces/partner.repository';
export const newPartnerRepositoryMock = (): jest.Mocked<IPartnerRepository> => {
return {
create: jest.fn(),
remove: jest.fn(),
getAll: jest.fn(),
get: jest.fn(),
update: jest.fn(),
};
};