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

Function sampleResult

apps/local/src/oauth-result-store.test.ts:15–20  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

13} from "./oauth-result-store";
14
15const sampleResult = (sessionId: string): OAuthPopupResult<unknown> => ({
16 type: OAUTH_POPUP_MESSAGE_TYPE,
17 ok: false,
18 sessionId,
19 error: "access denied",
20});
21
22afterEach(() => {
23 __resetOAuthResultStoreForTests();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected