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

Function run

apps/local/src/mcp-oauth.test.ts:193–201  ·  view source on GitHub ↗
(
            body: (client: TestApiShape) => Effect.Effect<A, E>,
          )

Source from the content-addressed store, hash-verified

191 );
192
193 const run = <A, E>(
194 body: (client: TestApiShape) => Effect.Effect<A, E>,
195 ): Effect.Effect<A, E> =>
196 Effect.gen(function* () {
197 const client = yield* HttpApiClient.make(TestApi, {
198 baseUrl: TEST_BASE_URL,
199 });
200 return yield* body(client);
201 }).pipe(Effect.provide(clientLayer)) as Effect.Effect<A, E>;
202
203 // probe — real RFC 8414 / OIDC discovery against the test server.
204 const probed = yield* run((client) =>

Callers 1

mcp-oauth.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected