Uh oh!
There was an error while loading. Please reload this page.
test: get rid of unnecessary AbortController instanciations - #63489
Merged
Conversation
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
nodejs-github-bot
commented
May 22, 2026
Collaborator
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #63489 +/- ##
=======================================
Coverage 90.13% 90.13% =======================================
Files 718 718 Lines 227914 227914 Branches 42811 42812 +1 =======================================
+ Hits 205435 205437 +2 + Misses 14248 14244 -4 - Partials 8231 8233 +2 🚀 New features to boost your workflow:
|
avivkeller
approved these changes
May 22, 2026
legendecas
approved these changes
May 22, 2026
nodejs-github-bot
commented
May 22, 2026
Collaborator
Renegade334
approved these changes
May 22, 2026
trivikr
approved these changes
May 22, 2026
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
May 22, 2026
Collaborator
gurgunday
approved these changes
May 23, 2026
lpinca
approved these changes
May 23, 2026
| @@ -97,11 +97,9 @@ describe('Mock Timers Scheduler Test Suite', () => { | |||
| it('should abort operation when .abort is called before calling setInterval', async (t) => { | |||
Member
There was a problem hiding this comment.
Should this be renames to something like
Suggested change
| it('should abort operation when .abort is called before calling setInterval',async(t)=>{ | |
| it('should abort operation when signal is aborted before calling wait',async(t)=>{ |
The name is already incorrect as it says setInterval, though
| @@ -551,11 +551,9 @@ describe('Mock Timers Test Suite', () => { | |||
| it('should abort operation when .abort is called before calling setInterval', async (t) => { | |||
Member
There was a problem hiding this comment.
This one too is setInterval instead of setTimeout, I see this is not just one test, and not really related to your change.
Probably worth a separate PR
atlowChemi
approved these changes
May 23, 2026
jasnell
approved these changes
May 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
May 24, 2026
Collaborator
Landed in 8c3e9bd |
aduh95 added a commit
that referenced
this pull request
May 27, 2026
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63489 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
trivikr added a commit
to trivikr/node
that referenced
this pull request
May 28, 2026
Refs: nodejs#63489 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Assisted-by: openai:gpt-5.5
nodejs-github-bot pushed a commit
that referenced
this pull request
May 28, 2026
Refs: #63489 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Assisted-by: openai:gpt-5.5 PR-URL: #63541 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
aduh95 added a commit
that referenced
this pull request
May 30, 2026
Refs: #63489 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Assisted-by: openai:gpt-5.5 PR-URL: #63541 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
aduh95 added a commit
that referenced
this pull request
May 30, 2026
Refs: #63489 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Assisted-by: openai:gpt-5.5 PR-URL: #63541 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
aduh95 added a commit
that referenced
this pull request
Aug 6, 2026
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63489 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 added a commit
that referenced
this pull request
Aug 6, 2026
Refs: #63489 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Assisted-by: openai:gpt-5.5 PR-URL: #63541 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I've considered doing a lint rule, but the effort to verify if the controller is used elsewhere makes it probably not worth it.