()
| 110 | // ============================================================================= |
| 111 | |
| 112 | async function testEmptyAsync() { |
| 113 | async function* gen() { |
| 114 | // yields nothing |
| 115 | } |
| 116 | |
| 117 | const readable = toReadable(gen()); |
| 118 | const result = await collect(readable); |
| 119 | assert.strictEqual(result.length, 0); |
| 120 | } |
| 121 | |
| 122 | // ============================================================================= |
| 123 | // fromStreamIter: empty batches are skipped |
no test coverage detected