Commit 6913bd18 authored by Rich Trott's avatar Rich Trott
Browse files

test,console: add testing for monkeypatching of console stdio

lib/internal/console/constructor.js contains setters for console._stdout
and console._stderr but these setters are not used in our tests or in
Node.js core. (This is confirmed by our nightly coverage reports.)

Add a test to check monkeypatching _stdout and _stderr on a console
object.

PR-URL: https://github.com/nodejs/node/pull/26561


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 2f9c9eeb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment