(controller)
| 217 | it('works with ReadableStream', () => { |
| 218 | const stream = new ReadableStream({ |
| 219 | start(controller) { |
| 220 | controller.enqueue(new TextEncoder().encode('stream data')); |
| 221 | controller.close(); |
| 222 | }, |
| 223 | }); |
| 224 | const request = new Request('http://example.com', { |
| 225 | method: 'POST', |