(effect: Effect.Effect<A, E, R>)
| 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 | ) |
no test coverage detected
searching dependent graphs…