test: remove unused triggerAsyncId param in test
PR-URL: https://github.com/nodejs/node/pull/26800 Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
This commit is contained in:
parent
7c1fc93e30
commit
518d2b6e5a
@ -11,7 +11,7 @@ let destroyResCallCount = 0;
|
|||||||
let res2;
|
let res2;
|
||||||
|
|
||||||
async_hooks.createHook({
|
async_hooks.createHook({
|
||||||
init: common.mustCallAtLeast((id, provider, triggerAsyncId) => {
|
init: common.mustCallAtLeast((id, provider) => {
|
||||||
if (provider === 'foobar')
|
if (provider === 'foobar')
|
||||||
initCalls.add(id);
|
initCalls.add(id);
|
||||||
}, 2),
|
}, 2),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user