-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: improve test coverage of readline/promises #40876
test: improve test coverage of readline/promises #40876
Conversation
69f4058
to
97b3f58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, a few comments.
@Ayase-252 |
Landed in bb3ff81 |
PR-URL: #40876 Refs: https://coverage.nodejs.org/coverage-0c2011c6c5d311a9/lib/readline/promises.js.html#L33 Reviewed-By: Qingyu Deng <i@ayase-lab.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@kuriyosh do you mind backporting this to 16.x? When I went to pull it into the next release, there was a breaking test. |
@kuriyosh |
This improves a test coverage in
lib/readline/promises
.It tests throwing
ABORT_ERROR
when the question method is executed with an aborted signal.ref: https://coverage.nodejs.org/coverage-0c2011c6c5d311a9/lib/readline/promises.js.html#L33