Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: refactor into async-await #43292

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
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
@@ -58,7 +58,7 @@ function launchTarget(...args) {
const { childProc, host, port } = await launchTarget('--inspect=0', script);
target = childProc;
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();
@@ -70,5 +70,5 @@ function launchTarget(...args) {
} finally {
cleanup();
}
})();
})().then(common.mustCall());
}