mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
11 lines
235 B
TypeScript
11 lines
235 B
TypeScript
import { IAlbumRepository } from '../src';
|
|
|
|
export const newAlbumRepositoryMock = (): jest.Mocked<IAlbumRepository> => {
|
|
return {
|
|
getByIds: jest.fn(),
|
|
deleteAll: jest.fn(),
|
|
getAll: jest.fn(),
|
|
save: jest.fn(),
|
|
};
|
|
};
|