( subscriptionType: SubscriptionType | null, )
| 804 | |
| 805 | // Mock subscription type management |
| 806 | export function setMockSubscriptionType( |
| 807 | subscriptionType: SubscriptionType | null, |
| 808 | ): void { |
| 809 | if (process.env.USER_TYPE !== 'ant') { |
| 810 | return |
| 811 | } |
| 812 | mockEnabled = true |
| 813 | mockSubscriptionType = subscriptionType |
| 814 | } |
| 815 | |
| 816 | export function getMockSubscriptionType(): SubscriptionType | null { |
| 817 | if (!mockEnabled || process.env.USER_TYPE !== 'ant') { |
nothing calls this directly
no outgoing calls
no test coverage detected