Skip to content

Commit 27e8e91

Browse files
committed
test: change promises to async/await in test-debugger-heap-profiler
1 parent 14b3f86 commit 27e8e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-debugger-heap-profiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const filename = path.join(tmpdir.path, 'node.heapsnapshot');
1919
const opts = { cwd: tmpdir.path };
2020
const cli = startCLI([fixtures.path('debugger/empty.js')], [], opts);
2121

22-
const waitInitialBreak = async function() {
22+
const waitInitialBreak = async () => {
2323
try {
2424
await cli.waitForInitialBreak();
2525
await cli.waitForPrompt();

0 commit comments

Comments
 (0)