Skip to content

chore(config): isolate tests from host npmrc files - #10035

Merged
martinrrm merged 1 commit into
release/v10from
backport/v10/10015
Oct 14, 2026
Merged

martinrrm merged 1 commit into
release/v10from
backport/v10/10015

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #10015 to release/v10.

## Summary

Prevent @npmcli/config tests from reading npmrc files from the developer
machine.

The test filesystem mock now treats the system npmrc, Node installation
npmrc, and user npmrc as absent while continuing to load explicit test
fixtures.

## Testing

`npm test --workspace @npmcli/config`

Copilot-Session: d4d3278e-3e07-4181-b096-60fbdd86c341
(cherry picked from commit e1581be)
@martinrrm
martinrrm merged commit 519e084 into release/v10 Oct 14, 2026
38 checks passed
@martinrrm
martinrrm deleted the backport/v10/10015 branch October 14, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants