Skip to content

Commit

Permalink
using "@welldone-software/jest-console-handler"
Browse files Browse the repository at this point in the history
  • Loading branch information
vzaidman committed Sep 13, 2019
1 parent 96b30b7 commit 772e6de
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 37 deletions.
2 changes: 1 addition & 1 deletion jestSetup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import errorOnConsoleOutput from './testUtils/errorOnConsoleOutput'
import {errorOnConsoleOutput} from '@welldone-software/jest-console-handler'

global.flushConsoleOutput = errorOnConsoleOutput()
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.4",
"@types/react": "^16.9.2",
"@welldone-software/jest-console-handler": "^0.1.0",
"acorn-walk": "^7.0.0",
"astring": "^1.4.1",
"babel-core": "^7.0.0-bridge.0",
Expand Down
36 changes: 0 additions & 36 deletions testUtils/errorOnConsoleOutput.js

This file was deleted.

5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,11 @@
lodash.unescape "4.0.1"
semver "5.5.0"

"@welldone-software/jest-console-handler@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@welldone-software/jest-console-handler/-/jest-console-handler-0.1.0.tgz#20c3f5bcdc880a05e8915f8a029e135e0fb5e900"
integrity sha512-vH3a/oa78kHTUTiCnmMRWT1fPYxrEddXVoq+Y0aH9i1ArB3bQkM1/mzOnbgNpaXRIqpepduLjK8jNurCVbKWxw==

abab@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.1.tgz#3fa17797032b71410ec372e11668f4b4ffc86a82"
Expand Down

0 comments on commit 772e6de

Please sign in to comment.