()
| 109 | } |
| 110 | |
| 111 | async function testPreAbortedSignal() { |
| 112 | const { readable } = push({ signal: AbortSignal.abort() }); |
| 113 | await assert.rejects(async () => { |
| 114 | // eslint-disable-next-line no-unused-vars |
| 115 | for await (const _ of readable) { |
| 116 | assert.fail('Should not reach here'); |
| 117 | } |
| 118 | }, { name: 'AbortError' }); |
| 119 | } |
| 120 | |
| 121 | async function testConsumerBreakWriteSyncReturnsFalse() { |
| 122 | const { writer, readable } = push({ highWaterMark: 10 }); |
no test coverage detected
searching dependent graphs…