Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / wallet / tests / mocks / useHideAmounts.ts
blobc206e972076c063e42bf4ca6027e4c1e2a4ca1a1
1 import * as useHideAmountsModule from '../../store/hooks/useHideAmounts';
3 export const mockUseHideAmounts = (mockedValue?: boolean) => {
4     const spy = vi.spyOn(useHideAmountsModule, 'useHideAmounts');
6     spy.mockReturnValue(mockedValue ?? false);
8     return spy;
9 };