mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
|
import { IAlbumUserRepository } from 'src/interfaces/album-user.interface';
|
||
|
import { Mocked } from 'vitest';
|
||
|
|
||
|
export const newAlbumUserRepositoryMock = (): Mocked<IAlbumUserRepository> => {
|
||
|
return {
|
||
|
create: vitest.fn(),
|
||
|
delete: vitest.fn(),
|
||
|
update: vitest.fn(),
|
||
|
};
|
||
|
};
|