Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 945b141

Browse filesBrowse files
islandryuaduh95
authored andcommitted
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 2eb8e9d commit 945b141
Copy full SHA for 945b141

1 file changed

+1Lines changed: 1 addition & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-debugger-break.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-debugger-break.js
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.