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 BethGriggs committed Feb 6, 2020
1 parent 081e488 commit 768a53f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-console-group.js
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 768a53f

Please sign in to comment.