Skip to content

Commit 768a53f

Browse files
TrottBethGriggs
authored andcommitted
test: disable colorMode in test-console-group
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>
1 parent 081e488 commit 768a53f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/parallel/test-console-group.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ function setup() {
2323
stderr += data;
2424
});
2525

26-
c = new Console(process.stdout, process.stderr);
26+
c = new Console({ stdout: process.stdout,
27+
stderr: process.stderr,
28+
colorMode: false });
2729
}
2830

2931
function teardown() {

0 commit comments

Comments
 (0)