(options)
| 31 | } |
| 32 | |
| 33 | function getInterface(options) { |
| 34 | const fi = new FakeInput(); |
| 35 | const rli = new readline.Interface({ |
| 36 | input: fi, |
| 37 | output: fi, |
| 38 | ...options, |
| 39 | }); |
| 40 | return [rli, fi]; |
| 41 | } |
| 42 | |
| 43 | function assertCursorRowsAndCols(rli, rows, cols) { |
| 44 | const cursorPos = rli.getCursorPos(); |
no outgoing calls
no test coverage detected
searching dependent graphs…