Commit 818c935a authored by Dávid Szakállas's avatar Dávid Szakállas Committed by James M Snell
Browse files

test: test async-hook triggerId properties

Add tests for checking the behavior of async_hooks.triggerId.
It should return different ids when called in callbacks having
different ancestry paths.
It should return the same id when called in callbacks having
the same ancestry path.

PR-URL: https://github.com/nodejs/node/pull/13328


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
Reviewed-By: default avatarAndreas Madsen <amwebdk@gmail.com>
parent 52c0c478
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment