Merge branch 'renovate/all-minor-patch' into 'main'
[ProtonMail-WebClient.git] / packages / testing / lib / mockOnSessionMigration.ts
blob54c46781f19697bc83e4837c88e7e513c66ad5fc
1 import { BillingPlatform, ChargebeeEnabled } from '@proton/shared/lib/interfaces';
3 import { mockUseSubscription } from './mockUseSubscription';
4 import { mockUseUser } from './mockUseUser';
6 export const mockOnSessionMigration = () => {
7     mockUseUser([
8         {
9             ChargebeeUser: ChargebeeEnabled.CHARGEBEE_FORCED,
10         },
11     ]);
13     mockUseSubscription([
14         {
15             BillingPlatform: BillingPlatform.Proton,
16         },
17     ]);