Skip to content

Commit 6feed98

Browse files
julianduquetargos
authored andcommittedApr 22, 2020
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>
1 parent b0386b4 commit 6feed98

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)
Please sign in to comment.