(options)
| 53 | } |
| 54 | |
| 55 | function getInterface(options) { |
| 56 | const fi = new FakeInput(); |
| 57 | const rli = new readline.Interface({ |
| 58 | input: fi, |
| 59 | output: fi, |
| 60 | ...options, |
| 61 | }); |
| 62 | return [rli, fi]; |
| 63 | } |
| 64 | |
| 65 | function assertCursorRowsAndCols(rli, rows, cols) { |
| 66 | const cursorPos = rli.getCursorPos(); |
no outgoing calls
no test coverage detected
searching dependent graphs…