We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93acfb0 commit cd807f3Copy full SHA for cd807f3
CHANGELOG.md
@@ -21,6 +21,8 @@
21
custom matchers. ([#5162](https://github.com/facebook/jest/pull/5162))
22
* `[pretty-format]` Pretty format for DOMStringMap and NamedNodeMap
23
([#5233](https://github.com/facebook/jest/pull/5233))
24
+* `[jest-cli]` Use a better console-clearing string on Windows
25
+ ([#5251](https://github.com/facebook/jest/pull/5251))
26
27
### Features
28
packages/jest-cli/src/constants.js
@@ -9,7 +9,7 @@
9
10
const isWindows = process.platform === 'win32';
11
12
-export const CLEAR = isWindows ? '\x1Bc' : '\x1B[2J\x1B[3J\x1B[H';
+export const CLEAR = isWindows ? '\x1B[2J\x1B[0f' : '\x1B[2J\x1B[3J\x1B[H';
13
14
export const KEYS = {
15
A: '61',
0 commit comments