summaryrefslogtreecommitdiff
path: root/deps/node-inspect/test/cli/exec.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node-inspect/test/cli/exec.test.js')
-rw-r--r--deps/node-inspect/test/cli/exec.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/node-inspect/test/cli/exec.test.js b/deps/node-inspect/test/cli/exec.test.js
index 5c647134d7..acfd6e34ab 100644
--- a/deps/node-inspect/test/cli/exec.test.js
+++ b/deps/node-inspect/test/cli/exec.test.js
@@ -11,7 +11,7 @@ test('examples/alive.js', (t) => {
throw error;
}
- return cli.waitFor(/break/)
+ return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => cli.command('exec [typeof heartbeat, typeof process.exit]'))
.then(() => {
@@ -60,7 +60,7 @@ test('exec .scope', (t) => {
throw error;
}
- return cli.waitFor(/break/)
+ return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => cli.stepCommand('c'))
.then(() => cli.command('exec .scope'))