1 import type { PrivateAuthenticationStore } from '@proton/components/containers/app/interface';
2 import * as useAuthenticationModule from '@proton/components/hooks/useAuthentication';
4 export const mockUseAuthentication = (value?: Partial<PrivateAuthenticationStore>) => {
5 const spy = vi.spyOn(useAuthenticationModule, 'default');
14 setPersistent: vi.fn(),
15 getPersistent: vi.fn(),
16 setClientKey: vi.fn(),
17 getClientKey: vi.fn(),
18 setOfflineKey: vi.fn(),
19 getOfflineKey: vi.fn(),