diff --git a/test/async-hooks/test-async-await.js b/test/async-hooks/test-async-await.js index f5e886e9d50001..0103f63621e3ba 100644 --- a/test/async-hooks/test-async-await.js +++ b/test/async-hooks/test-async-await.js @@ -26,7 +26,7 @@ const hooks = initHooks({ }); hooks.enable(); -function oninit(asyncId, type, triggerAsyncId, resource) { +function oninit(asyncId, type) { if (type === 'PROMISE') { promisesInitState.set(asyncId, 'inited'); }