()
| 147 | |
| 148 | // bytes() with raw chunks |
| 149 | async function* rawSource2() { |
| 150 | yield encoder.encode('ab'); |
| 151 | } |
| 152 | const data = await bytes(rawSource2()); |
| 153 | assert.strictEqual(data.length, 2); |
| 154 | assert.strictEqual(data[0], 97); // 'a' |
no test coverage detected
searching dependent graphs…