MCPcopy Create free account
hub / github.com/Noumena-Network/code / shouldUseMockSubscription

Function shouldUseMockSubscription

src/services/mockRateLimits.ts:826–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

getSubscriptionTypeFunction · 0.85

Calls 1

isInternalBuildFunction · 0.85

Tested by

no test coverage detected