MCPcopy Index your code
hub / github.com/nodejs/node / getInterface

Function getInterface

test/parallel/test-readline-interface.js:55–63  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

53}
54
55function 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
65function assertCursorRowsAndCols(rli, rows, cols) {
66 const cursorPos = rli.getCursorPos();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…