test: remove error allowance in debugger test
Remove allowance for FATAL ERROR. It is no longer needed. PR-URL: https://github.com/nodejs/node/pull/41640 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
This commit is contained in:
parent
b27ae24dcc
commit
938ab0e267
@ -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'))
|
||||
@ -66,9 +65,7 @@ const path = require('path');
|
||||
assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 1 });
|
||||
})
|
||||
.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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user