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

Function grantRequests

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

Source from the content-addressed store, hash-verified

1801 expect(row?.last_health).toMatchObject({ status: "expired" });
1802
1803 const grantRequests = () =>
1804 server.requests.pipe(
1805 Effect.map(
1806 (all) =>
1807 all.filter((r) => r.path === "/token" && r.body.includes("refresh_token")).length,
1808 ),
1809 );
1810 const sentBefore = yield* grantRequests();
1811 expect(sentBefore).toBe(1);
1812

Callers 1

oauth-flow.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected