mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 00:59:18 -05:00
1869b1b41a
* refactor: version history repository * refactor: oauth repository * refactor: trash repository * refactor: telemetry repository * refactor: metadata repository * refactor: cron repository * refactor: map repository * refactor: server-info repository * refactor: album user repository * refactor: notification repository
10 lines
258 B
TypeScript
10 lines
258 B
TypeScript
import { IAlbumUserRepository } from 'src/types';
|
|
import { Mocked } from 'vitest';
|
|
|
|
export const newAlbumUserRepositoryMock = (): Mocked<IAlbumUserRepository> => {
|
|
return {
|
|
create: vitest.fn(),
|
|
delete: vitest.fn(),
|
|
update: vitest.fn(),
|
|
};
|
|
};
|