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

File oauth-manager.test.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * OAuthManager tests — exercise ensureFresh / login / logout against a fake
3 * storage and injected transport mocks. No network, no file locks.
4 *

Callers

nothing calls this directly

Calls 13

okAuthFunction · 0.85
hasTokenMethod · 0.80
makeTokenFunction · 0.70
saveMethod · 0.65
loadMethod · 0.65
resolveMethod · 0.65
getCachedAccessTokenMethod · 0.65
loginMethod · 0.65
abortMethod · 0.65
logoutMethod · 0.65
nowMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected