We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ce6c30 commit 56a39afCopy full SHA for 56a39af
packages/jest-cli/src/jest.js
@@ -34,7 +34,7 @@ const sane = require('sane');
34
const which = require('which');
35
const TestWatcher = require('./TestWatcher');
36
37
-const CLEAR = '\x1B[2J\x1B[H';
+const CLEAR = process.platform === 'win32' ? '\x1Bc' : '\x1B[2J\x1B[3J\x1B[H';
38
const VERSION = require('../package.json').version;
39
const WATCHER_DEBOUNCE = 200;
40
const WATCHMAN_BIN = 'watchman';
0 commit comments