MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getMockSubscriptionType

Function getMockSubscriptionType

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

Source from the content-addressed store, hash-verified

814}
815
816export function getMockSubscriptionType(): SubscriptionType | null {
817 if (!mockEnabled || process.env.USER_TYPE !== 'ant') {
818 return null
819 }
820 // Return the explicitly set subscription type, or default to 'max'
821 return mockSubscriptionType || DEFAULT_MOCK_SUBSCRIPTION
822}
823
824// Export a function that checks if we should use mock subscription
825export function shouldUseMockSubscription(): boolean {

Callers 1

getSubscriptionTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected