(body: HttpBody.HttpBody)
| 9 | const readStream = (stream: ReadableStream<Uint8Array>) => Effect.promise(() => new globalThis.Response(stream).text()) |
| 10 | |
| 11 | const readBody = (body: HttpBody.HttpBody) => { |
| 12 | assert.strictEqual(body._tag, "Raw") |
| 13 | return Effect.promise(() => new Response((body as HttpBody.Raw).body as BodyInit).text()) |
| 14 | } |
| 15 | |
| 16 | describe("DenoHttpPlatform", () => { |
| 17 | it.effect("fileWebResponse honors offset and bytesToRead including zero", () => |
no test coverage detected