mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
12 lines
311 B
TypeScript
12 lines
311 B
TypeScript
import { ITrashRepository } from 'src/interfaces/trash.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newTrashRepositoryMock = (): Mocked<ITrashRepository> => {
|
|
return {
|
|
empty: vitest.fn(),
|
|
restore: vitest.fn(),
|
|
restoreAll: vitest.fn(),
|
|
getDeletedIds: vitest.fn(),
|
|
};
|
|
};
|