(body: string)
| 17 | ) |
| 18 | |
| 19 | const makeHttpClient = (body: string): HttpClient.HttpClient => |
| 20 | HttpClient.make((request) => |
| 21 | Effect.succeed( |
| 22 | HttpClientResponse.fromWeb( |
| 23 | request, |
| 24 | new Response(body, { status: 200 }) |
| 25 | ) |
| 26 | ) |
| 27 | ) |
| 28 | |
| 29 | const makeProtocolLayerWithClient = ( |
| 30 | serializationLayer: Layer.Layer<RpcSerialization.RpcSerialization>, |
no test coverage detected