Skip to content

Commit

Permalink
patch: fixed async error and missing semicolon error
Browse files Browse the repository at this point in the history
  • Loading branch information
Monu-Chaudhary committed Sep 18, 2022
1 parent 5360a1a commit c3ea0bd
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -15,15 +15,15 @@ const cli = startCLI(['--inspect-port=0', script]);

(async () => {
try {
await cli.waitForInitialBreak()
await cli.waitForPrompt()
await cli.waitForInitialBreak();
await cli.waitForPrompt();
assert.match(cli.output, /debug>/, 'prints a prompt');
assert.match(
cli.output,
/< Debugger listening on /,
'forwards child output');
} finally {
const code = cli.quit()
const code = await cli.quit();
assert.strictEqual(code,0);
}
})();

0 comments on commit c3ea0bd

Please sign in to comment.