test: remove unused variables on async hook test

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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Julian Duque authored and Michaël Zasso committed 2020-04-22 19:40:47 +02:00
1 parent b0386b4aaf
commit 6feed98f33
1 file changed
+1 -1
@@ -9,7 +9,7 @@ const nestedHook = async_hooks.createHook({
});
async_hooks.createHook({
init: common.mustCall((id, type) => {
init: common.mustCall(() => {
nestedHook.enable();
}, 2)
}).enable();