Skip to content

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

Merged
reggi merged 1 commit into
release/v11from
backport/v11/10015
Sep 30, 2026
Merged

reggi merged 1 commit into
release/v11from
backport/v11/10015

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #10015 to release/v11.

## 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)
@reggi
reggi merged commit 2283c1d into release/v11 Sep 30, 2026
33 checks passed
@reggi
reggi deleted the backport/v11/10015 branch September 30, 2026 17:14
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