We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d355aa8 commit 47cbb05Copy full SHA for 47cbb05
test/async-hooks/test-enable-in-init.js
@@ -10,7 +10,7 @@ const nestedHook = async_hooks.createHook({
10
let nestedCall = false;
11
12
async_hooks.createHook({
13
- init: common.mustCall(function(id, type) {
+ init: common.mustCall(() => {
14
nestedHook.enable();
15
if (!nestedCall) {
16
nestedCall = true;
0 commit comments