From 6d122429c1e2cd4c3ebc7f47d27051578a45ed2b 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit remove the `id` and `type` arguments from the mustCall function on init. PR-URL: https://github.com/nodejs/node/pull/32630 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Michaël Zasso Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- 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();