Skip to content

Commit

Permalink
test: update tests to resolve colors
Browse files Browse the repository at this point in the history
  • Loading branch information
avivkeller authored Apr 12, 2024
1 parent baba49f commit 2f05b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-uncaught-exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2f05b2f

Please sign in to comment.