Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
test: modify then to async/await
  • Loading branch information
meekdenzo committed Jun 1, 2022
commit c62c79de6c07a0f484bcfce0817d39eed6274bfc
4 changes: 2 additions & 2 deletions test/parallel/test-debugger-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function launchTarget(...args) {
const { childProc, host, port } = await launchTarget('--inspect=0', script);
>
cli = startCLI([`${host || '127.0.0.1'}:${port}`]);
await cli.waitForPrompt();
await cli.waitForPrompt();
await cli.command('sb("alive.js", 3)');
await cli.waitFor(/break/);
await cli.waitForPrompt();
Expand All @@ -70,5 +70,5 @@ function launchTarget(...args) {
} finally {
cleanup();
}
})();
})().then(common.mustCall());
}