Unverified Commit 8d63f403 authored by Anna Henningsen's avatar Anna Henningsen
Browse files

test,tracing: use close event to wait for stdio

Use `'close'` rather than `'exit'` to make sure that all stdio
has been captured by the time that the event handler is run.

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


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarAnto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 46d9573c
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