Skip to content

Commit bd1f167

Browse files
committed
test: fix flaky debugger test
1 parent 4edb139 commit bd1f167

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(['--port=0', 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)