(stream)
| 5 | { |
| 6 | // Test tee() with close in the nextTick after enqueue |
| 7 | async function read(stream) { |
| 8 | const chunks = []; |
| 9 | for await (const chunk of stream) |
| 10 | chunks.push(chunk); |
| 11 | return Buffer.concat(chunks).toString(); |
| 12 | } |
| 13 | |
| 14 | const [r1, r2] = new ReadableStream({ |
| 15 | start(controller) { |
no test coverage detected
searching dependent graphs…