From 768a53f219a0c7a89c28f8904ed815870a0e3b24 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 10 Dec 2019 08:18:40 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/30886 Reviewed-By: Shelley Vohr Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca --- test/parallel/test-console-group.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-console-group.js b/test/parallel/test-console-group.js index c3c70bfa248715..99c01fc36ea469 100644 --- a/test/parallel/test-console-group.js +++ b/test/parallel/test-console-group.js @@ -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() {