Skip to content

Commit f320e2d

Browse files
committed
fix terminal window test
1 parent 17eecfe commit f320e2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/terminal.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ test('ansi formatting functions', async function (t) {
8181
t.is(ansi.yellow('text'), 'text', 'ansi.yellow should format text correctly')
8282
t.is(ansi.gray('text'), 'text', 'ansi.gray should format text correctly')
8383
t.is(ansi.upHome(), '', 'ansi.upHome should format text correctly')
84+
t.is(ansi.upHome(35), '', 'ansi.upHome should format text correctly')
8485
t.is(ansi.link('text'), 'text', 'ansi.link should format text correctly')
8586
t.is(ansi.hideCursor(), '', 'ansi.hideCursor should format text correctly')
8687
t.is(ansi.showCursor(), '', 'ansi.showCursor should format text correctly')

0 commit comments

Comments
 (0)