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.

PR-URL: #32630
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
julianduque authored and targos committed Apr 11, 2020
1 parent 8c68dd4 commit 6d12242
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 6d12242

Please sign in to comment.