Skip to content

Commit 720feff

Browse files
authored
test: fix flaky debugger test
PR-URL: #58324 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent e33ce7a commit 720feff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-debugger-break.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const cli = startCLI([script]);
5353
'marks the debugger line');
5454

5555
await cli.command('sb("break.js", 6)');
56+
await cli.waitFor(/> 6.*[.\s\S]*debug>/);
5657
assert.doesNotMatch(cli.output, /Could not resolve breakpoint/);
5758

5859
await cli.command('sb("otherFunction()")');

0 commit comments

Comments
 (0)