1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-23 02:06:15 +02:00
immich/server/test/repositories/partner.repository.mock.ts
2024-03-21 06:59:49 -05:00

12 lines
284 B
TypeScript

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