MCPcopy Create free account
hub / github.com/effect-app/libs / flaky

Function flaky

repos/effect/packages/platform-node/test/NodeHttpClient.test.ts:151–157  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

149 }).pipe(
150 Effect.provide(localServerTestLayer)
151 ))
152
153 it.effect("head request with schemaJson", () =>
154 Effect.gen(function*() {
155 const client = yield* HttpClient.HttpClient
156 const response = yield* client.head("/todos").pipe(
157 Effect.flatMap(
158 HttpClientResponse.schemaJson(Schema.Struct({ status: Schema.Literal(200) }))
159 )
160 )

Callers 1

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…