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:
Juan José Arboleda 2019-03-20 00:59:40 -05:00 committed by ZYSzys
parent 7c1fc93e30
commit 518d2b6e5a

View File

@ -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),