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

Function resetUpstreamProxyForTests

src/upstreamproxy/upstreamproxy.ts:202–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201/** Test-only: reset module state between test cases. */
202export function resetUpstreamProxyForTests(): void {
203 state = { enabled: false }
204}
205
206async function readToken(path: string): Promise<string | null> {
207 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected