Skip to content

Commit 70c4340

Browse files
gdccwxxpull[bot]
authored andcommitted
test: fix "test/common/debugger" identify async function
PR-URL: nodejs#40348 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 40a6271 commit 70c4340

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)