Skip to content

Commit

Permalink
test: disable colorMode in test-console-group
Browse files Browse the repository at this point in the history
Disable colorMode in test-console-group so that the test will succeed if
run without the test runner from the command line.

PR-URL: #30886
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Dec 13, 2019
1 parent 822fb00 commit eb6e32c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-console-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function setup() {
stderr += data;
});

c = new Console(process.stdout, process.stderr);
c = new Console({ stdout: process.stdout,
stderr: process.stderr,
colorMode: false });
}

function teardown() {
Expand Down

0 comments on commit eb6e32c

Please sign in to comment.