Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/parallel/test-debugger-backtrace.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const path = require('path');

async function runTest() {
try {
await cli.waitForPrompt();
await cli.waitForInitialBreak();
await cli.waitForPrompt();
await cli.stepCommand('c');
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-debugger-break.js
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

(async () => {
await cli.waitForPrompt();
await cli.waitForInitialBreak();
await cli.waitForPrompt();
assert.deepStrictEqual(
Expand Down
3 changes: 2 additions & 1 deletion test/parallel/test-debugger-clear-breakpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const path = require('path');
throw error;
}

return cli.waitForInitialBreak()
return cli.waitForPrompt()
.then(() => cli.waitForInitialBreak())
.then(() => cli.waitForPrompt())
.then(() => cli.command('sb("break.js", 3)'))
.then(() => cli.command('sb("break.js", 9)'))
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-debugger-sb-before-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const otherScript = path.relative(process.cwd(), otherScriptFullPath);
const cli = startCLI([script]);

(async () => {
await cli.waitForPrompt();
await cli.waitForInitialBreak();
await cli.waitForPrompt();
await cli.command('sb("other.js", 2)');
Expand Down
Loading