Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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>
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -9,7 +9,7 @@ const nestedHook = async_hooks.createHook({ | ||
| }); | ||
|
|
||
| async_hooks.createHook({ | ||
| init: common.mustCall(() => { | ||
| nestedHook.enable(); | ||
| }, 2) | ||
| }).enable(); | ||