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 14b3f86 commit 27e8e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-heap-profiler.js
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);

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

0 comments on commit 27e8e91

Please sign in to comment.