Repository navigation
test: use relative paths within test directory in test-watch-mode.mjs - #67343
Open
LiviaMedeiros wants to merge 1 commit into
Open
LiviaMedeiros wants to merge 1 commit into
LiviaMedeiros wants to merge 1 commit into
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
lpinca
approved these changes
Nov 9, 2026
Signed-off-by: LiviaMedeiros <livia@cirno.name>
LiviaMedeiros
force-pushed
the
test-watch-mode-avoid-tmp
branch
from
November 14, 2026 01:50
d15bddd to
09530e1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67343 +/- ##
=======================================
Coverage 90.70% 90.71%
=======================================
Files 802 802
Lines 282114 282114
Branches 54360 54359 -1
=======================================
+ Hits 255892 255913 +21
+ Misses 16363 16327 -36
- Partials 9859 9874 +15 🚀 New features to boost your workflow:
|
jasnell
approved these changes
Nov 14, 2026
Collaborator
Commit Queue failedThe pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
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.
This test pollutes
os.tmpdir()with directories that are never removed. Let's try relative paths withintmpdir.pathinstead.If this won't work, we can use
mkdtempDisposable().rm -rf /tmp/test\ for\ --watch\ parsing/ /tmp/node-watch-path-a/ /tmp/node-watch-path-b/for manual cleanup.