()
| 824 | |
| 825 | // Export a function that checks if we should use mock subscription |
| 826 | export function shouldUseMockSubscription(): boolean { |
| 827 | return ( |
| 828 | mockEnabled && |
| 829 | mockSubscriptionType !== null && |
| 830 | isInternalBuild() |
| 831 | ) |
| 832 | } |
| 833 | |
| 834 | // Mock billing access (admin vs non-admin) |
| 835 | export function setMockBillingAccess(hasAccess: boolean | null): void { |
no test coverage detected