diff --git a/test/parallel/test-async-hooks-enable-recursive.js b/test/parallel/test-async-hooks-enable-recursive.js index bcb0dcc0ce0a66..74caebbad225ba 100644 --- a/test/parallel/test-async-hooks-enable-recursive.js +++ b/test/parallel/test-async-hooks-enable-recursive.js @@ -9,7 +9,7 @@ const nestedHook = async_hooks.createHook({ }); async_hooks.createHook({ - init: common.mustCall((id, type) => { + init: common.mustCall(() => { nestedHook.enable(); }, 2) }).enable();