(body: HttpBody.HttpBody)
| 5 | import * as HttpPlatform from "effect/unstable/http/HttpPlatform" |
| 6 | |
| 7 | const readBody = (body: HttpBody.HttpBody) => { |
| 8 | assert.strictEqual(body._tag, "Raw") |
| 9 | return Effect.promise(() => new Response((body as HttpBody.Raw).body as BodyInit).text()) |
| 10 | } |
| 11 | |
| 12 | describe("BunHttpPlatform", () => { |
| 13 | it.effect("fileWebResponse honors offset and bytesToRead including zero", () => |
no test coverage detected