MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / sessionResult

Function sessionResult

packages/react/src/api/oauth-popup.test.ts:239–244  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

237
238describe("openOAuthSystemBrowser", () => {
239 const sessionResult = (sessionId: string): OAuthPopupResult<unknown> => ({
240 type: OAUTH_POPUP_MESSAGE_TYPE,
241 ok: false,
242 sessionId,
243 error: "access denied",
244 });
245
246 const waitFor = async (predicate: () => boolean): Promise<void> => {
247 const deadline = Date.now() + 2000;

Callers 1

fakeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected