()
| 21 | // ============================================================================= |
| 22 | |
| 23 | function testProtocolExists() { |
| 24 | assert.strictEqual(typeof Readable.prototype[toAsyncStreamable], 'function'); |
| 25 | |
| 26 | const readable = new Readable({ read() {} }); |
| 27 | assert.strictEqual(typeof readable[toAsyncStreamable], 'function'); |
| 28 | } |
| 29 | |
| 30 | // ============================================================================= |
| 31 | // Byte-mode Readable: basic round-trip through from() |
no outgoing calls
no test coverage detected