()
| 86 | |
| 87 | async function testMergeSourceError() { |
| 88 | async function* goodSource() { |
| 89 | const enc = new TextEncoder(); |
| 90 | yield [enc.encode('a')]; |
| 91 | // Slow so the bad source errors first |
| 92 | await new Promise((r) => setTimeout(r, 50)); |
| 93 | yield [enc.encode('b')]; |
| 94 | } |
| 95 | |
| 96 | async function* badSource() { |
| 97 | yield [new TextEncoder().encode('x')]; |
no test coverage detected