From 1b47ad8b63388492f7b51adec8baa9fb43f20659 Mon Sep 17 00:00:00 2001 From: MrJithil Date: Sat, 22 Jan 2022 11:29:42 +0530 Subject: [PATCH] test: remove error allowance in debugger test Remove allowance for FATAL ERROR. It is no longer needed. --- test/sequential/test-debugger-exceptions.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/sequential/test-debugger-exceptions.js b/test/sequential/test-debugger-exceptions.js index 9b1163316268c7..cf017eb2aa6e6a 100644 --- a/test/sequential/test-debugger-exceptions.js +++ b/test/sequential/test-debugger-exceptions.js @@ -27,8 +27,7 @@ const path = require('path'); }) // Making sure it will die by default: .then(() => cli.command('c')) - // TODO: Remove FATAL ERROR once node doesn't show a FATAL ERROR anymore. - .then(() => cli.waitFor(/disconnect|FATAL ERROR/)) + .then(() => cli.waitFor(/disconnect/)) // Next run: With `breakOnException` it pauses in both places. .then(() => cli.stepCommand('r')) @@ -67,7 +66,7 @@ const path = require('path'); }) .then(() => cli.command('c')) // TODO: Remove FATAL ERROR once node doesn't show a FATAL ERROR anymore - .then(() => cli.waitFor(/disconnect|FATAL ERROR/)) + .then(() => cli.waitFor(/disconnect/)) .then(() => cli.quit()) .then(null, onFatal);