mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01: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(),
|
||
|
};
|
||
|
};
|