()
| 634 | // ============================================================================= |
| 635 | |
| 636 | function testObjectModeThrows() { |
| 637 | const writable = new Writable({ |
| 638 | objectMode: true, |
| 639 | write(chunk, enc, cb) { cb(); }, |
| 640 | }); |
| 641 | assert.throws( |
| 642 | () => fromWritable(writable), |
| 643 | { code: 'ERR_INVALID_STATE' }, |
| 644 | ); |
| 645 | } |
| 646 | |
| 647 | testFunctionExists(); |
| 648 | testSyncMethodsReturnFalse(); |
no test coverage detected
searching dependent graphs…