()
| 129 | |
| 130 | // Tap callback error propagates through pipeline |
| 131 | async function testTapCallbackError() { |
| 132 | const badTap = tap(() => { throw new Error('tap boom'); }); |
| 133 | await assert.rejects(async () => { |
| 134 | // eslint-disable-next-line no-unused-vars |
| 135 | for await (const _ of pull(from('hello'), badTap)) { /* consume */ } |
| 136 | }, { message: 'tap boom' }); |
| 137 | } |
| 138 | |
| 139 | // Pull signal aborted mid-iteration (not pre-aborted) |
| 140 | async function testPullSignalAbortMidIteration() { |
no test coverage detected