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

Function _resetPolicyLimitsForTesting

src/services/policyLimits/index.ts:79–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 * singleton so downstream tests in the same shard see a clean slate.
78 */
79export function _resetPolicyLimitsForTesting(): void {
80 stopBackgroundPolling()
81 sessionCache = null
82 loadingCompletePromise = null
83 loadingCompleteResolve = null
84}
85
86/**
87 * Initialize the loading promise for policy limits

Callers

nothing calls this directly

Calls 1

stopBackgroundPollingFunction · 0.70

Tested by

no test coverage detected