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

Function grantRequests

packages/core/sdk/src/oauth-flow.test.ts:1934–1940  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1932 expect(row?.last_health).toMatchObject({ status: "expired" });
1933
1934 const grantRequests = () =>
1935 server.requests.pipe(
1936 Effect.map(
1937 (all) =>
1938 all.filter((r) => r.path === "/token" && r.body.includes("refresh_token")).length,
1939 ),
1940 );
1941 const sentBefore = yield* grantRequests();
1942 expect(sentBefore).toBe(1);
1943

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected