MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeClient

Function makeClient

packages/effect/test/unstable/httpapi/HttpApiClient.test.ts:345–349  ·  view source on GitHub ↗
(response: () => Response)

Source from the content-addressed store, hash-verified

343
344 describe("error responses", () => {
345 const makeClient = (response: () => Response) =>
346 HttpApiClient.makeWith(ErrorContentTypeApi, {
347 baseUrl: "http://test",
348 httpClient: clientFromResponse(response)
349 })
350
351 it.effect("selects schemas by normalized content type regardless of declaration order", () =>
352 Effect.gen(function*() {

Callers 3

Entity.test.tsFile · 0.50
Sharding.test.tsFile · 0.50

Calls 1

clientFromResponseFunction · 0.85

Tested by

no test coverage detected