mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 05:46:46 +01:00
6ce35d47f5
* refactor(server): partner core * refactor(server): partner access check
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
import { IPartnerRepository } from '../src';
|
|
|
|
export const newPartnerRepositoryMock = (): jest.Mocked<IPartnerRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
remove: jest.fn(),
|
|
getAll: jest.fn(),
|
|
get: jest.fn(),
|
|
};
|
|
};
|