Skip to content

Commit 9137925

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const path = require('path');
4141
.then(() => {
4242
assert.match(cli.output, /Use `run` to start the app again/);
4343
})
44-
.then(() => cli.stepCommand('run'))
44+
.then(() => cli.command('run'))
4545
.then(() => cli.waitForInitialBreak())
4646
.then(() => cli.waitForPrompt())
4747
.then(() => {
@@ -71,7 +71,7 @@ const path = require('path');
7171
.then(() => {
7272
assert.match(cli.output, /Use `run` to start the app again/);
7373
})
74-
.then(() => cli.stepCommand('run'))
74+
.then(() => cli.command('run'))
7575
.then(() => cli.waitForInitialBreak())
7676
.then(() => cli.waitForPrompt())
7777
.then(() => {

0 commit comments

Comments
 (0)