test_runner: fixed test object is incorrectly passed to setup()#50982
test_runner: fixed test object is incorrectly passed to setup()#50982nodejs-github-bot merged 5 commits intonodejs:mainfrom
Conversation
|
Review requested:
|
I was also suspecting something, but surprised by the tests 😅 |
|
converting this PR to draft. ref: #51064, still working on it 🚀 |
MoLow
left a comment
There was a problem hiding this comment.
createWriteStream is called multiple times for each reporter destination, and in some cases the writeStream is never being closed
|
@MoLow PTAL. |
|
Landed in dad666a |
|
@pulkit-30 thanks for the hard work 🎉 |
Thanks a ton! It means a lot. |
PR-URL: #50982 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
|
@MoLow do you plan to backport it to 20.x? Documentation is still incorrect - https://nodejs.org/docs/latest-v20.x/api/test.html#runoptions. |
|
not every PR needs a manual backport. lets wait for @nodejs/releasers to release a new v20 version and request a backport if needed |
PR-URL: #50982 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>


Fix #48809
pass
testStreamto setup insteadtestRoot.