test_runner: support typescript module mocking#54878
Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom Sep 19, 2024
Hidden character warning
The head ref may contain hidden characters: "fix/mock-modu\u00f2e"
Merged
test_runner: support typescript module mocking#54878nodejs-github-bot merged 1 commit intonodejs:mainfrom
nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
Collaborator
|
Review requested:
|
jasnell
approved these changes
Sep 10, 2024
Contributor
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Starting PR CI job ✘ Failed to start PR CI: 400 Bad Requesthttps://github.com/nodejs/node/actions/runs/10796555755 |
cjihrig
approved these changes
Sep 10, 2024
Collaborator
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54878 +/- ##
==========================================
+ Coverage 87.89% 88.02% +0.13%
==========================================
Files 651 652 +1
Lines 183364 183764 +400
Branches 35711 35865 +154
==========================================
+ Hits 161167 161766 +599
+ Misses 15466 15244 -222
- Partials 6731 6754 +23
|
MoLow
approved these changes
Sep 10, 2024
ErickWendel
approved these changes
Sep 10, 2024
benjamingr
approved these changes
Sep 10, 2024
Qard
approved these changes
Sep 10, 2024
Member
Author
|
not sure if its a semver minor or patch |
Contributor
|
I think this is semver patch. Plus these are all experimental features anyway. |
Collaborator
Collaborator
atlowChemi
reviewed
Sep 12, 2024
|
|
||
| test('logger', async () => { | ||
|
|
||
| const { logger: mockedModule} = await import('./module-logger.ts'); |
Member
There was a problem hiding this comment.
Suggested change
| const { logger: mockedModule} = await import('./module-logger.ts'); | |
| const { logger: mockedModule } = await import('./module-logger.ts'); |
Collaborator
Contributor
|
It looks like there is a relevant failure in the CI. |
Member
Author
|
I think its related to #54645 since it only happens on windows arm64 😭 |
Contributor
|
Should we skip on that platform? For the purposes of module mocking I think that would be adequate. |
c2f4b08 to
87c6d5e
Compare
Member
Author
sure, I added the skip on windows arm on the test |
Collaborator
ShogunPanda
approved these changes
Sep 19, 2024
Collaborator
|
Landed in bb40521 |
targos
pushed a commit
that referenced
this pull request
Oct 4, 2024
PR-URL: #54878 Fixes: #54428 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Erick Wendel <erick.workspace@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Merged
louwers
pushed a commit
to louwers/node
that referenced
this pull request
Nov 2, 2024
PR-URL: nodejs#54878 Fixes: nodejs#54428 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Erick Wendel <erick.workspace@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
tpoisseau
pushed a commit
to tpoisseau/node
that referenced
this pull request
Nov 21, 2024
PR-URL: nodejs#54878 Fixes: nodejs#54428 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Erick Wendel <erick.workspace@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
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 free
to 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.
Ugh I named the branch with ò character and GitHub complains :(
Fixes: #54428