()
| 126 | |
| 127 | function testShareSyncSourceError() { |
| 128 | function* failingSource() { |
| 129 | yield [new TextEncoder().encode('ok')]; |
| 130 | throw new Error('sync share boom'); |
| 131 | } |
| 132 | const shared = shareSync(failingSource()); |
| 133 | const c1 = shared.pull(); |
| 134 | const c2 = shared.pull(); |
no test coverage detected