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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and targos committed Jan 14, 2020
1 parent 8d8c05d commit 2155f56
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 2155f56

Please sign in to comment.