Merge branch 'renovate/all-minor-patch' into 'main'
[ProtonMail-WebClient.git] / packages / testing / lib / mockNotifications.ts
blob812e980dc3463d16f4422a6af2c45f8a00eba9da
1 import { jest } from '@jest/globals';
3 import type useNotifications from '@proton/components/hooks/useNotifications';
5 export const mockNotifications: ReturnType<typeof useNotifications> = {
6     createNotification: jest.fn<any>(),
7     removeNotification: jest.fn(),
8     removeDuplicate: jest.fn(),
9     hideNotification: jest.fn(),
10     clearNotifications: jest.fn(),
11     setOffset: jest.fn(),