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

Function grantRequests

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

Source from the content-addressed store, hash-verified

1027 expect(row?.last_health).toMatchObject({ status: "expired" });
1028
1029 const grantRequests = () =>
1030 server.requests.pipe(
1031 Effect.map(
1032 (all) =>
1033 all.filter((r) => r.path === "/token" && r.body.includes("refresh_token")).length,
1034 ),
1035 );
1036 const sentBefore = yield* grantRequests();
1037 expect(sentBefore).toBe(1);
1038

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected