diff --git a/test/common/README.md b/test/common/README.md index 2d30629e1edef3..8e837b2609f63a 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -323,11 +323,13 @@ Deletes the 'tmp' dir and recreates it ### restoreStderr() -Restore the original `process.stderr.write`. +Restore the original `process.stderr.write`. Used to restore `stderr` to its +original state after calling [`common.hijackStdErr()`][]. ### restoreStdout() -Restore the original `process.stdout.write`. +Restore the original `process.stdout.write`. Used to restore `stdout` to its +original state after calling [`common.hijackStdOut()`][]. ### rootDir * return [<String>] @@ -456,4 +458,6 @@ implementation with tests from [<Object>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object [<RegExp>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp [<String>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type +[`common.hijackStdErr()`]: #hijackstderrlistener +[`common.hijackStdOut()`]: #hijackstdoutlistener [internationalization]: https://github.com/nodejs/node/wiki/Intl