koa icon indicating copy to clipboard operation
koa copied to clipboard

[feat] improved tests for WHATWG Response and ReadableStream by checking the response body

Open jonathanong opened this issue 6 months ago • 0 comments

Describe the feature

In this PR: https://github.com/koajs/koa/pull/1830/files#diff-fd91551e086f98dc690b814777c842d122de3be3b0aa53ea726c01eeb88614aa we've added support for Blobs, ReadableStreams, and Responses. However, the tests for Response and ReadableStream do not check the response body. We should check the response body to ensure that everything is working properly.

jonathanong avatar May 24 '25 05:05 jonathanong