mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-26 14:57:42 +00:00
9 lines
255 B
TypeScript
9 lines
255 B
TypeScript
import { IAccessRepository } from '../src';
|
|
|
|
export const newAccessRepositoryMock = (): jest.Mocked<IAccessRepository> => {
|
|
return {
|
|
hasPartnerAccess: jest.fn(),
|
|
hasPartnerAssetAccess: jest.fn(),
|
|
hasSharedLinkAssetAccess: jest.fn(),
|
|
};
|
|
};
|