Skip to content

Commit 6d12242

Browse files
julianduquetargos
authored andcommitted
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 <[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]>
1 parent 8c68dd4 commit 6d12242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-async-hooks-enable-recursive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const nestedHook = async_hooks.createHook({
99
});
1010

1111
async_hooks.createHook({
12-
init: common.mustCall((id, type) => {
12+
init: common.mustCall(() => {
1313
nestedHook.enable();
1414
}, 2)
1515
}).enable();

0 commit comments

Comments
 (0)