()
| 21 | |
| 22 | // pipeToSync endSync missing → falls back to end() |
| 23 | async function testPipeToSyncNoEndSync() { |
| 24 | let endCalled = false; |
| 25 | const writer = { |
| 26 | writeSync() { return true; }, |
| 27 | end() { endCalled = true; }, |
| 28 | }; |
| 29 | pipeToSync(fromSync('data'), writer); |
| 30 | assert.strictEqual(endCalled, true); |
| 31 | } |
| 32 | |
| 33 | // pipeToSync with preventFail: true — source error does NOT call fail() |
| 34 | async function testPipeToSyncPreventFail() { |
no test coverage detected