forked from nodejs/citgm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: redirect homedir for modules being tested
The tests for some modules write into `os.homedir()` and are not cleaning up afterwards. This is accumulating over time on our CI and require periodic manual cleaning. Redirect the environment variables used by `os.homedir()` into CITGM's temporary directory for the module being tested, which gets removed at the end of the test run. Refs: nodejs/build#1908 (comment)
- Loading branch information
1 parent
84187a6
commit ac9333c
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
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
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
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