Skip to content

Commit d8a36ee

Browse files
gdccwxxtargos
authored andcommitted
test: fix "test/common/debugger" identify async function
PR-URL: #40348 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 7f50313 commit d8a36ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/common/debugger.js

+2-2
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)