MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / oauth-manager-multi-process.test.ts

File oauth-manager-multi-process.test.ts

packages/oauth/test/oauth-manager-multi-process.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * OAuthManager cross-process refresh lock.
3 *
4 * Spawns N Node worker processes that each call `ensureFresh(force=true)`

Callers

nothing calls this directly

Calls 9

createTempWorkDirFunction · 0.90
spawnInlineWorkersFunction · 0.90
seedInitialTokenFunction · 0.85
readRefreshCountFunction · 0.85
popMethod · 0.80
cleanupMethod · 0.65
nowMethod · 0.65
mkdirFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected