()
| 61 | // PullSync source error propagates |
| 62 | function testPullSyncSourceError() { |
| 63 | function* failingSource() { |
| 64 | yield [new TextEncoder().encode('a')]; |
| 65 | throw new Error('sync source boom'); |
| 66 | } |
| 67 | assert.throws(() => { |
| 68 | // eslint-disable-next-line no-unused-vars |
| 69 | for (const _ of pullSync(failingSource())) { /* consume */ } |
no test coverage detected
searching dependent graphs…