-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: split promisified timers test for coverage purposes #37943
Merged
+198
−160
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodejs-github-bot
added
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
labels
Mar 27, 2021
s/proimisifed/promisified/ |
Trott
changed the title
test: split proimisifed timers test for coverage purposes
test: split promisifed timers test for coverage purposes
Mar 27, 2021
Trott
force-pushed
the
timers-promisified-coverage
branch
from
March 27, 2021 13:40
141c41e
to
cea86a0
Compare
@targos Fixed. Thanks! |
s/promisifed/promisified/ ? |
jasnell
approved these changes
Mar 27, 2021
Trott
changed the title
test: split promisifed timers test for coverage purposes
test: split promisified timers test for coverage purposes
Mar 28, 2021
Trott
force-pushed
the
timers-promisified-coverage
branch
from
March 28, 2021 04:17
cea86a0
to
64e076e
Compare
Yikes. Fixed (again). Thanks. |
RaisinTen
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Mar 28, 2021
targos
approved these changes
Mar 29, 2021
Because of lazy loading, running promisified timers tests for setTimeout and setImmediate from the same file means that there is a piece of code that doesn't get covered. Split into separate files to cover everything. Refs: https://coverage.nodejs.org/coverage-290c158018ac0277/lib/timers.js.html#L269 PR-URL: nodejs#37943 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Trott
force-pushed
the
timers-promisified-coverage
branch
from
March 29, 2021 22:56
64e076e
to
52c7539
Compare
Landed in 52c7539 |
ruyadorno
pushed a commit
that referenced
this pull request
Mar 30, 2021
Because of lazy loading, running promisified timers tests for setTimeout and setImmediate from the same file means that there is a piece of code that doesn't get covered. Split into separate files to cover everything. Refs: https://coverage.nodejs.org/coverage-290c158018ac0277/lib/timers.js.html#L269 PR-URL: #37943 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Merged
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.
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Because of lazy loading, running promisified timers tests for setTimeout
and setImmediate from the same file means that there is a piece of code
that doesn't get covered. Split into separate files to cover everything.
Refs: https://coverage.nodejs.org/coverage-290c158018ac0277/lib/timers.js.html#L269