MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setMockSubscriptionType

Function setMockSubscriptionType

src/services/mockRateLimits.ts:806–814  ·  view source on GitHub ↗
(
  subscriptionType: SubscriptionType | null,
)

Source from the content-addressed store, hash-verified

804
805// Mock subscription type management
806export 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
816export function getMockSubscriptionType(): SubscriptionType | null {
817 if (!mockEnabled || process.env.USER_TYPE !== 'ant') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected