From 2f05b2fae151651abacdd465bcad800e87365215 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:35:55 -0400 Subject: [PATCH] test: update tests to resolve colors --- test/parallel/test-repl-uncaught-exception.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-repl-uncaught-exception.js b/test/parallel/test-repl-uncaught-exception.js index d3dbe0acb0106d9..233840f371c6cf4 100644 --- a/test/parallel/test-repl-uncaught-exception.js +++ b/test/parallel/test-repl-uncaught-exception.js @@ -40,12 +40,12 @@ const tests = [ { useColors: true, command: 'x', - expected: 'Uncaught ReferenceError: x is not defined\n' + expected: '\x1B[31mUncaught ReferenceError: x is not defined\x1B[39m\n' }, { useColors: true, command: 'throw { foo: "test" }', - expected: "Uncaught { foo: \x1B[32m'test'\x1B[39m }\n" + expected: "\x1B[31mUncaught { foo: \x1B[32m'test'\x1B[39m }\x1B[39m\n" }, { command: 'process.on("uncaughtException", () => console.log("Foobar"));\n',