()
| 385 | // ============================================================================= |
| 386 | |
| 387 | function testDesiredSizeNull() { |
| 388 | const writable = new Writable({ write(chunk, enc, cb) { cb(); } }); |
| 389 | const writer = fromWritable(writable); |
| 390 | |
| 391 | writable.destroy(); |
| 392 | assert.strictEqual(writer.desiredSize, null); |
| 393 | } |
| 394 | |
| 395 | // ============================================================================= |
| 396 | // drainableProtocol: resolves immediately when no backpressure |
no test coverage detected
searching dependent graphs…