Skip to content

Commit

Permalink
chore: configure jest to send output to stdout instead of stderr
Browse files Browse the repository at this point in the history
See for details:
jestjs/jest#5064 (comment)

Relate to #1484
  • Loading branch information
php-coder committed Jan 10, 2021
1 parent 48657a8 commit 2b547d9
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/frontend/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// @todo #1484 Document Jest usage
module.exports = {
// https://jestjs.io/docs/en/configuration#watchman-boolean
"watchman": false
"watchman": false,
// See: https://github.com/facebook/jest/issues/5064#issuecomment-401451361
// @todo #1484 Remove usage of jest-standard-reporter once facebook/jest#5064 is resolved
"reporters": [ "jest-standard-reporter" ]
}
92 changes: 92 additions & 0 deletions src/main/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"babel-jest": "~26.6.3",
"babel-loader": "~8.1.0",
"jest": "~26.6.3",
"jest-standard-reporter": "~2.0.0",
"react": "~16.8.6",
"react-dom": "~16.8.6",
"webpack": "~4.43.0",
Expand Down

0 comments on commit 2b547d9

Please sign in to comment.