chore: fix pruner and reify tests for optional peer deps by liamcmitchell · Pull Request #8540 · npm/cli · GitHub
Skip to content

chore: fix pruner and reify tests for optional peer deps - #8540

Merged
owlstronaut merged 2 commits into
npm:latestfrom
liamcmitchell:win-test
Sep 3, 2025
Merged

owlstronaut merged 2 commits into
npm:latestfrom
liamcmitchell:win-test

Conversation

@liamcmitchell

Copy link
Copy Markdown
Contributor

While investigating CI failure in #8537, I found unrelated test failures when running locally on windows.

prune with lockfile with implicit optional peer dependencies fixed by adding files to fixture node_modules, avoiding network, also reduced package lock to minimum and removed unhelpful snapshots

move aside symlink clutter fixed by creating problematic symlink in t.testdir() instead of in reifyPackages hook

@liamcmitchell
liamcmitchell requested a review from a team as a code owner August 29, 2025 10:45
@owlstronaut owlstronaut changed the title Win test test: fix pruner and reify tests for optional peer deps Sep 3, 2025
@owlstronaut owlstronaut changed the title test: fix pruner and reify tests for optional peer deps chore: fix pruner and reify tests for optional peer deps Sep 3, 2025
@owlstronaut
owlstronaut merged commit 619d43e into npm:latest Sep 3, 2025
1 check passed
@github-actions github-actions Bot mentioned this pull request Sep 3, 2025
@G-Rath

G-Rath commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

wraithgar added a commit that referenced this pull request Oct 15, 2025
#8540 removed the bad tests that were hooking into this!
wraithgar added a commit that referenced this pull request Oct 15, 2025
#8540 removed the tests that were hooking into this
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.

4 participants