mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 16:41:59 +00:00
11 lines
311 B
TypeScript
11 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(),
|
|
};
|
|
};
|