summaryrefslogtreecommitdiff
path: root/test/parallel/test-async-hooks-close-during-destroy.js
diff options
context:
space:
mode:
authorJuan José Arboleda <soyjuanarbol@gmail.com>2019-03-20 00:59:40 -0500
committerZYSzys <zyszys98@gmail.com>2019-04-01 21:04:09 +0800
commit518d2b6e5aac6ca4e90c2fd8b133c42db5bc1e45 (patch)
treee6cb08987a2a5db827e18369a68d749bffaf7fe8 /test/parallel/test-async-hooks-close-during-destroy.js
parent7c1fc93e30e4dac664782c7d229823fd10fa71ba (diff)
downloadandroid-node-v8-518d2b6e5aac6ca4e90c2fd8b133c42db5bc1e45.tar.gz
android-node-v8-518d2b6e5aac6ca4e90c2fd8b133c42db5bc1e45.tar.bz2
android-node-v8-518d2b6e5aac6ca4e90c2fd8b133c42db5bc1e45.zip
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>
Diffstat (limited to 'test/parallel/test-async-hooks-close-during-destroy.js')
-rw-r--r--test/parallel/test-async-hooks-close-during-destroy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-async-hooks-close-during-destroy.js b/test/parallel/test-async-hooks-close-during-destroy.js
index abdeab2404..6e485d2d11 100644
--- a/test/parallel/test-async-hooks-close-during-destroy.js
+++ b/test/parallel/test-async-hooks-close-during-destroy.js
@@ -11,7 +11,7 @@ let destroyResCallCount = 0;
let res2;
async_hooks.createHook({
- init: common.mustCallAtLeast((id, provider, triggerAsyncId) => {
+ init: common.mustCallAtLeast((id, provider) => {
if (provider === 'foobar')
initCalls.add(id);
}, 2),