()
| 30 | // ============================================================================= |
| 31 | |
| 32 | async function testBasicAsync() { |
| 33 | const source = from('hello world'); |
| 34 | const readable = toReadable(source); |
| 35 | |
| 36 | assert.strictEqual(readable.readableObjectMode, false); |
| 37 | |
| 38 | const result = await collect(readable); |
| 39 | assert.strictEqual(result.toString(), 'hello world'); |
| 40 | } |
| 41 | |
| 42 | // ============================================================================= |
| 43 | // fromStreamIter: multiple batches, all chunks arrive in order |
no test coverage detected