Skip to content

Commit

Permalink
Update the string that clears the console
Browse files Browse the repository at this point in the history
  • Loading branch information
zinserjan committed Mar 20, 2018
1 parent 6377143 commit a50bcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner/testRunnerReporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Reporter {

clearConsole() {
if (this.interactive) {
process.stdout.write(process.platform === 'win32' ? '\x1Bc' : '\x1B[2J\x1B[3J\x1B[H');
process.stdout.write(process.platform === 'win32' ? '\x1B[2J\x1B[0f' : '\x1B[2J\x1B[3J\x1B[H');
}
}

Expand Down

0 comments on commit a50bcb4

Please sign in to comment.