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 <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 6feed98
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 6feed98

Please sign in to comment.