()
| 55 | fail(reason) { failCalled = true; failReason = reason; }, |
| 56 | }; |
| 57 | async function* failingSource() { |
| 58 | yield [new TextEncoder().encode('a')]; |
| 59 | throw new Error('pipe source boom'); |
| 60 | } |
| 61 | await assert.rejects( |
| 62 | () => pipeTo(failingSource(), writer), |
| 63 | { message: 'pipe source boom' }, |
no test coverage detected
searching dependent graphs…