Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix: remove mention of DEBUG for stdout/stderr
Browse files Browse the repository at this point in the history
it does not work right and is being removed
  • Loading branch information
jdx committed Apr 6, 2018
1 parent 4e1d2b4 commit f511c16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Stdout/Stderr Mocking
---------------------

This is used for tests that ensure that certain stdout/stderr messages are made.
By default this also trims the output from the screen. See the output by setting `TEST_OUTPUT=1` or `DEBUG=stdout|stderr`, or by setting `{print: true}` in the options passed.
By default this also trims the output from the screen. See the output by setting `TEST_OUTPUT=1`, or by setting `{print: true}` in the options passed.

You can use the library [stdout-stderr](https://npm.im/stdout-stderr) directly for doing this, but you have to be careful to always reset it after the tests run. We do that work for you so you don't have to worry about mocha's output being hidden.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/jdxcode/fancy-test/issues",
"dependencies": {
"lodash": "^4.17.5",
"stdout-stderr": "^0.1.7"
"stdout-stderr": "^0.1.8"
},
"devDependencies": {
"@oclif/tslint": "^1.1.0",
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ [email protected]:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"

[email protected]:
[email protected], debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
Expand Down Expand Up @@ -443,10 +443,11 @@ sprintf-js@~1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"

stdout-stderr@^0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/stdout-stderr/-/stdout-stderr-0.1.7.tgz#f3f69391f3e721c2c52aa92fbfa18b8a6e9ce3df"
stdout-stderr@^0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/stdout-stderr/-/stdout-stderr-0.1.8.tgz#de36d08765c79f2bcb28c150485e69eca70a9fbe"
dependencies:
debug "^3.1.0"
strip-ansi "^4.0.0"

strip-ansi@^3.0.0:
Expand Down

0 comments on commit f511c16

Please sign in to comment.