diff --git a/test/parallel/test-console-no-swallow-stack-overflow.js b/test/parallel/test-console-no-swallow-stack-overflow.js index f36ba4857e3..b85896b2507 100644 --- a/test/parallel/test-console-no-swallow-stack-overflow.js +++ b/test/parallel/test-console-no-swallow-stack-overflow.js @@ -14,5 +14,5 @@ for (const method of ['dir', 'log', 'warn']) { const c = new Console(out, out, true); c[method]('Hello, world!'); - }, { name: 'RangeError' }); + }, { name: common.isChakraEngine ? 'Error' : 'RangeError' }); }