From 652a521867f6b33db86a103dad3cd40933f54a07 Mon Sep 17 00:00:00 2001 From: Julian Duque Date: Thu, 2 Apr 2020 22:41:26 -0400 Subject: [PATCH] test: remove unused variables on async hook test This commit remove the `id` and `type` arguments from the mustCall function on init. --- test/parallel/test-async-hooks-enable-recursive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();