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

Function run

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

Source from the content-addressed store, hash-verified

175 );
176
177 const run = <A, E>(
178 body: (client: TestApiShape) => Effect.Effect<A, E>,
179 ): Effect.Effect<A, E> =>
180 Effect.gen(function* () {
181 const client = yield* HttpApiClient.make(TestApi, {
182 baseUrl: TEST_BASE_URL,
183 });
184 return yield* body(client);
185 }).pipe(Effect.provide(clientLayer)) as Effect.Effect<A, E>;
186
187 // probe — real RFC 8414 / OIDC discovery against the test server.
188 const probed = yield* run((client) =>

Callers 1

mcp-oauth.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected