( chunk: any, _encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void )
| 7 | public rows = 20; |
| 8 | |
| 9 | _write( |
| 10 | chunk: any, |
| 11 | _encoding: BufferEncoding, |
| 12 | callback: (error?: Error | null | undefined) => void |
| 13 | ): void { |
| 14 | this.buffer.push(chunk.toString()); |
| 15 | callback(); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | export class MockReadable extends Readable { |
nothing calls this directly
no outgoing calls
no test coverage detected