Skip to content

Commit

Permalink
test: add missing await
Browse files Browse the repository at this point in the history
Add missing `await` in
`test/parallel/test-inspector-async-stack-traces-promise-then.js`.

PR-URL: #54828
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
lpinca authored and RafaelGSS committed Sep 16, 2024
1 parent 574ef49 commit 0bab9be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function runTests() {
'params': { 'patterns': [] } },
{ 'method': 'Runtime.runIfWaitingForDebugger' },
]);
session.send({ method: 'NodeRuntime.disable' });
await session.send({ method: 'NodeRuntime.disable' });

await session.waitForBreakOnLine(0, '[eval]');
await session.send({ 'method': 'Debugger.resume' });
Expand Down

0 comments on commit 0bab9be

Please sign in to comment.