1 import * as useAuthenticationModule from '@proton/components/hooks/useAuthentication';
3 export const mockUseAuthentication = (value: ReturnType<typeof useAuthenticationModule.default>) => {
4 const mockedUseApi = jest.spyOn(useAuthenticationModule, 'default');
6 mockedUseApi.mockReturnValue(value);