summaryrefslogtreecommitdiff
path: root/deps/node-inspect/test/cli/break.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node-inspect/test/cli/break.test.js')
-rw-r--r--deps/node-inspect/test/cli/break.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/node-inspect/test/cli/break.test.js b/deps/node-inspect/test/cli/break.test.js
index 1c662d63fc..59b12cde38 100644
--- a/deps/node-inspect/test/cli/break.test.js
+++ b/deps/node-inspect/test/cli/break.test.js
@@ -14,7 +14,7 @@ test('stepping through breakpoints', (t) => {
throw error;
}
- return cli.waitFor(/break/)
+ return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => {
t.match(
@@ -132,7 +132,7 @@ test('sb before loading file', (t) => {
throw error;
}
- return cli.waitFor(/break/)
+ return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => cli.command('sb("other.js", 3)'))
.then(() => {
@@ -161,7 +161,7 @@ test('clearBreakpoint', (t) => {
throw error;
}
- return cli.waitFor(/break/)
+ return cli.waitForInitialBreak()
.then(() => cli.waitForPrompt())
.then(() => cli.command('sb("break.js", 3)'))
.then(() => cli.command('sb("break.js", 9)'))