Skip to content

Commit e2da6dc

Browse files
committedFeb 8, 2018
test: fix cli test on windows
1 parent 20c6b3f commit e2da6dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎test/fixtures/log_stream.js

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const writtenSym = Symbol('written');
66
class LogStream extends Writable {
77
constructor(options) {
88
super(options);
9+
this.isTTY = false;
910
this[writtenSym] = '';
1011
}
1112

@@ -16,6 +17,10 @@ class LogStream extends Writable {
1617
toString() {
1718
return this[writtenSym];
1819
}
20+
21+
clearLine() {}
22+
23+
cursorTo() {}
1924
}
2025

2126
module.exports = LogStream;

0 commit comments

Comments
 (0)
Please sign in to comment.