test: fix flaky debugger test

PR-URL: https://github.com/nodejs/node/pull/58324
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
This commit is contained in:
Ryuhei Shima authored and Antoine du Hamel committed 2026-01-28 19:35:55 +01:00
1 parent 2eb8e9d760
commit 945b141c5d
1 file changed
+1
+1
View File
@@ -53,6 +53,7 @@ const cli = startCLI([script]);
'marks the debugger line');
await cli.command('sb("break.js", 6)');
await cli.waitFor(/> 6.*[.\s\S]*debug>/);
assert.doesNotMatch(cli.output, /Could not resolve breakpoint/);
await cli.command('sb("otherFunction()")');