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 19, 2018
1 parent cfb4329 commit c452eb3
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 @@ -56,7 +56,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 c452eb3

Please sign in to comment.