Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b4ba52

Browse filesBrowse files
gdccwxxnodejs-github-bot
authored andcommitted
test: fix "test/common/debugger" identify async function
PR-URL: #40348 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent eaa5957 commit 5b4ba52
Copy full SHA for 5b4ba52

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎test/common/debugger.js‎

Copy file name to clipboardExpand all lines: test/common/debugger.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ function startCLI(args, flags = [], spawnOpts = {}) {
103103
return this.waitFor(/>\s+$/);
104104
},
105105

106-
waitForInitialBreak() {
106+
async waitForInitialBreak() {
107107
return this.waitFor(/break (?:on start )?in/i)
108-
.then(() => {
108+
.then(async () => {
109109
if (isPreBreak(this.output)) {
110110
return this.command('next', false)
111111
.then(() => this.waitFor(/break in/));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.