()
| 525 | // ============================================================================= |
| 526 | |
| 527 | function testInvalidSourceSync() { |
| 528 | assert.throws(() => toReadableSync(42), |
| 529 | { code: 'ERR_INVALID_ARG_TYPE' }); |
| 530 | assert.throws(() => toReadableSync(null), |
| 531 | { code: 'ERR_INVALID_ARG_TYPE' }); |
| 532 | } |
| 533 | |
| 534 | // ============================================================================= |
| 535 | // fromStreamIterSync: options validation |
no test coverage detected