()
| 83 | |
| 84 | async function testArraySyncBasic() { |
| 85 | function* gen() { |
| 86 | yield new Uint8Array([1]); |
| 87 | yield new Uint8Array([2]); |
| 88 | yield new Uint8Array([3]); |
| 89 | } |
| 90 | const chunks = arraySync(fromSync(gen())); |
| 91 | assert.strictEqual(chunks.length, 3); |
| 92 | assert.deepStrictEqual(chunks[0], new Uint8Array([1])); |
no outgoing calls
no test coverage detected