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

Function shouldUseMockSubscription

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

Source from the content-addressed store, hash-verified

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

Callers 1

getSubscriptionTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected