Skip to content

Commit 5ca31e5

Browse files
inoway46juanarbol
authored andcommitted
test: avoid flaky run wait in debugger restart test
PR-URL: #62112 Refs: #61762 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f417abd commit 5ca31e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-debugger-run-after-quit-restart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const path = require('path');
4646
.then(() => {
4747
assert.match(cli.output, /Use `run` to start the app again/);
4848
})
49-
.then(() => cli.stepCommand('run'))
49+
.then(() => cli.command('run'))
5050
.then(() => cli.waitForInitialBreak())
5151
.then(() => cli.waitForPrompt())
5252
.then(() => {
@@ -76,7 +76,7 @@ const path = require('path');
7676
.then(() => {
7777
assert.match(cli.output, /Use `run` to start the app again/);
7878
})
79-
.then(() => cli.stepCommand('run'))
79+
.then(() => cli.command('run'))
8080
.then(() => cli.waitForInitialBreak())
8181
.then(() => cli.waitForPrompt())
8282
.then(() => {

0 commit comments

Comments
 (0)