Skip to content
Permalink
Browse files
test: remove unused variables on async hook test
This commit remove the `id` and `type` arguments from the mustCall
function on init.

PR-URL: #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>
  • Loading branch information
julianduque authored and targos committed Apr 22, 2020
1 parent b0386b4 commit 6feed98f3392dabb1b48cd7b8f6d7fda904701d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit 6feed98

Please sign in to comment.