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

Function assertCursorRowsAndCols

test/parallel/test-readline-promises-interface.js:43–47  ·  view source on GitHub ↗
(rli, rows, cols)

Source from the content-addressed store, hash-verified

41}
42
43function assertCursorRowsAndCols(rli, rows, cols) {
44 const cursorPos = rli.getCursorPos();
45 assert.strictEqual(cursorPos.rows, rows);
46 assert.strictEqual(cursorPos.cols, cols);
47}
48
49[
50 undefined,

Calls 1

getCursorPosMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…