Skip to content

Commit

Permalink
test: change promises to async/await in test-debugger-heap-profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
brindashar4 committed Sep 17, 2022
1 parent 57b7198 commit ab7175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-heap-profiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const filename = path.join(tmpdir.path, 'node.heapsnapshot');
const opts = { cwd: tmpdir.path };
const cli = startCLI([fixtures.path('debugger/empty.js')], [], opts);

var waitInitialBreak = async function () {
let waitInitialBreak = async function () {
try {
await cli.waitForInitialBreak();
await cli.waitForPrompt();
Expand Down

0 comments on commit ab7175a

Please sign in to comment.