Skip to content

test: improve test coverage of readline/promises - #40876

Merged
nodejs-github-bot merged 2 commits into
nodejs:masterfrom
kuriyosh:test-readline-promise
Nov 23, 2021
Merged

test: improve test coverage of readline/promises#40876
nodejs-github-bot merged 2 commits into
nodejs:masterfrom
kuriyosh:test-readline-promise

Conversation

@kuriyosh

Copy link
Copy Markdown
Contributor

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

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Nov 19, 2021
@kuriyosh
kuriyosh force-pushed the test-readline-promise branch from 69f4058 to 97b3f58 Compare November 19, 2021 08:15

@Ayase-252 Ayase-252 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, a few comments.

Comment thread test/parallel/test-readline-promises-interface.js
Comment thread test/parallel/test-readline-promises-interface.js Outdated
@kuriyosh

Copy link
Copy Markdown
Contributor Author

@Ayase-252
Thank you your comments! I totally agreed and fixed it.

@Ayase-252 Ayase-252 added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 19, 2021
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 19, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Ayase-252 Ayase-252 added author ready PRs with CI started, the required approvals, and no outstanding review comments. and removed needs-ci PRs that need a full CI run. labels Nov 22, 2021
@aduh95 aduh95 added commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-squash PRs the Commit Queue should land as one squashed commit. labels Nov 23, 2021
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 23, 2021
@nodejs-github-bot
nodejs-github-bot merged commit bb3ff81 into nodejs:master Nov 23, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in bb3ff81

targos pushed a commit that referenced this pull request Nov 26, 2021
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>
@danielleadams

Copy link
Copy Markdown
Contributor

@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

kuriyosh commented Feb 4, 2022

Copy link
Copy Markdown
Contributor Author

@kuriyosh
Of course. Please ping me if I have any necessary actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue-squash PRs the Commit Queue should land as one squashed commit. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants