Skip to content

Commit a534721

Browse files
patch: fixed async error and missing semicolon error
1 parent a3ac774 commit a534721

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/sequential/test-debugger-random-port-with-inspect-port.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ const cli = startCLI(['--inspect-port=0', script]);
1515

1616
(async () => {
1717
try {
18-
await cli.waitForInitialBreak()
19-
await cli.waitForPrompt()
18+
await cli.waitForInitialBreak();
19+
await cli.waitForPrompt();
2020
assert.match(cli.output, /debug>/, 'prints a prompt');
2121
assert.match(
2222
cli.output,
2323
/< Debugger listening on /,
2424
'forwards child output');
2525
} finally {
26-
const code = cli.quit()
26+
const code = await cli.quit();
2727
assert.strictEqual(code,0);
2828
}
2929
})();

0 commit comments

Comments
 (0)