mirror of
https://github.com/immich-app/immich.git
synced 2025-03-01 15:11:21 +01:00
11 lines
332 B
TypeScript
11 lines
332 B
TypeScript
import { IAccessRepository } from '@app/domain';
|
|
|
|
export const newAccessRepositoryMock = (): jest.Mocked<IAccessRepository> => {
|
|
return {
|
|
hasPartnerAccess: jest.fn(),
|
|
hasAlbumAssetAccess: jest.fn(),
|
|
hasOwnerAssetAccess: jest.fn(),
|
|
hasPartnerAssetAccess: jest.fn(),
|
|
hasSharedLinkAssetAccess: jest.fn(),
|
|
};
|
|
};
|