mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
5f01fedf48
commit
aea24b7816
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();
|
||||
|
||||
Reference in new issue
Block a user