Skip to content

Commit

Permalink
test: remove unused variables on async hook test
Browse files Browse the repository at this point in the history
This commit remove the `id` and `type` arguments from the mustCall
function on init.
  • Loading branch information
julianduque committed Apr 3, 2020
1 parent 7947811 commit 652a521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-async-hooks-enable-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const nestedHook = async_hooks.createHook({
});

async_hooks.createHook({
init: common.mustCall((id, type) => {
init: common.mustCall(() => {
nestedHook.enable();
}, 2)
}).enable();
Expand Down

0 comments on commit 652a521

Please sign in to comment.