mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 11:56:46 +01:00
11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
|
import { INotificationRepository } from 'src/interfaces/notification.interface';
|
||
|
import { Mocked } from 'vitest';
|
||
|
|
||
|
export const newNotificationRepositoryMock = (): Mocked<INotificationRepository> => {
|
||
|
return {
|
||
|
renderEmail: vitest.fn(),
|
||
|
sendEmail: vitest.fn(),
|
||
|
verifySmtp: vitest.fn(),
|
||
|
};
|
||
|
};
|