mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
import { IActivityRepository } from 'src/types';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newActivityRepositoryMock = (): Mocked<IActivityRepository> => {
|
|
return {
|
|
search: vitest.fn(),
|
|
create: vitest.fn(),
|
|
delete: vitest.fn(),
|
|
getStatistics: vitest.fn(),
|
|
};
|
|
};
|