Skip to content

Commit 2b547d9

Browse files
committed
chore: configure jest to send output to stdout instead of stderr
See for details: jestjs/jest#5064 (comment) Relate to #1484
1 parent 48657a8 commit 2b547d9

File tree

3 files changed

+97
-1
lines changed

3 files changed

+97
-1
lines changed

src/main/frontend/jest.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// @todo #1484 Document Jest usage
22
module.exports = {
33
// https://jestjs.io/docs/en/configuration#watchman-boolean
4-
"watchman": false
4+
"watchman": false,
5+
// See: https://github.com/facebook/jest/issues/5064#issuecomment-401451361
6+
// @todo #1484 Remove usage of jest-standard-reporter once facebook/jest#5064 is resolved
7+
"reporters": [ "jest-standard-reporter" ]
58
}

src/main/frontend/package-lock.json

+92
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/frontend/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"babel-jest": "~26.6.3",
3838
"babel-loader": "~8.1.0",
3939
"jest": "~26.6.3",
40+
"jest-standard-reporter": "~2.0.0",
4041
"react": "~16.8.6",
4142
"react-dom": "~16.8.6",
4243
"webpack": "~4.43.0",

0 commit comments

Comments
 (0)