diff --git a/test/sequential/test-debugger-heap-profiler.js b/test/sequential/test-debugger-heap-profiler.js index b38b43ea843c50..faaa63622d7e46 100644 --- a/test/sequential/test-debugger-heap-profiler.js +++ b/test/sequential/test-debugger-heap-profiler.js @@ -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();