Function
respond
(_request: HttpClientRequest.HttpClientRequest)
Source from the content-addressed store, hash-verified
| 17 | const requests: Array<{ readonly url: string; readonly headers: Record<string, string> }> = [] |
| 18 | const assertions: PermissionV2.AssertInput[] = [] |
| 19 | let respond = (_request: HttpClientRequest.HttpClientRequest) => |
| 20 | Effect.succeed(new Response("hello", { headers: { "content-type": "text/plain" } })) |
| 21 | |
| 22 | const http = Layer.succeed( |
| 23 | HttpClient.HttpClient, |
Tested by
no test coverage detected