Skip to content
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

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

kuriyosh
Copy link
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 the tests. labels Nov 19, 2021
@kuriyosh kuriyosh force-pushed the test-readline-promise branch from 69f4058 to 97b3f58 Compare November 19, 2021 08:15
Copy link
Member

@Ayase-252 Ayase-252 left a 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.

test/parallel/test-readline-promises-interface.js Outdated Show resolved Hide resolved
@kuriyosh
Copy link
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
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@Ayase-252 Ayase-252 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Nov 22, 2021
@aduh95 aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Nov 23, 2021
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 23, 2021
@nodejs-github-bot nodejs-github-bot merged commit bb3ff81 into nodejs:master Nov 23, 2021
@nodejs-github-bot
Copy link
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
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
Copy link
Contributor Author

kuriyosh commented Feb 4, 2022

@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 that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants