mirror of
https://github.com/immich-app/immich.git
synced 2025-02-09 18:57:46 +02:00
12 lines
326 B
TypeScript
12 lines
326 B
TypeScript
import { IEventRepository } from 'src/interfaces/event.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newEventRepositoryMock = (): Mocked<IEventRepository> => {
|
|
return {
|
|
clientSend: vitest.fn(),
|
|
clientBroadcast: vitest.fn(),
|
|
serverSend: vitest.fn(),
|
|
serverSendAsync: vitest.fn(),
|
|
};
|
|
};
|