MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / oauth-await-longpoll.test.ts

File oauth-await-longpoll.test.ts

e2e/local/oauth-await-longpoll.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// The desktop system-browser OAuth flow: the renderer cannot receive a
2// postMessage from the user's external browser, so it asks the local server
3// for the result at `/api/oauth/await/:sessionId`. Guarantee under test: the
4// server LONG-POLLS that route — a request issued while the flow is still in

Callers

nothing calls this directly

Calls 14

scenarioFunction · 0.90
serveOAuthTestServerFunction · 0.90
serveMcpServerFunction · 0.90
makeEchoMcpServerFunction · 0.90
withLocalServerFunction · 0.90
composePluginApiFunction · 0.85
issueAwaitFunction · 0.85
resolveProviderConsentFunction · 0.85
toStringMethod · 0.80
apiClientFunction · 0.70
startMethod · 0.65
textMethod · 0.65

Tested by

no test coverage detected