1 | ;
|
2 |
|
3 | var bareTests = require("./bare");
|
4 |
|
5 | module.exports = function (t, a) {
|
6 | bareTests(t, a);
|
7 |
|
8 | a(typeof t.windowSize.width, "number", "Width");
|
9 |
|
10 | a(t.move.up(34), "\x1b[34A", "Up: Positive");
|
11 | a(t.move(2, 35), "\x1b[2C\x1b[35B", "Move: two positives");
|
12 |
|
13 | a(t.erase.screen, "\x1b[2J", "Erase");
|
14 |
|
15 | a(t.beep, "\x07", "Beep");
|
16 | };
|