Files
pnpm/testing
Zoltan Kochan 02e1e7760e test(registry-mock): read uplinked packuments from pnpr's proxy cache dir (#12205)
#12195 separated pnpr's proxied upstream cache from hosted packages, moving
proxied packuments to a `.pnpr-cache` subdirectory of the storage root. The
`getIntegrity` test helper still only read the hosted `<storage>/<pkg>/package.json`
path, so tests that resolve integrity for packages uplinked from the real npm
registry (e.g. store add express, store prune is-negative) failed with ENOENT.

Try the hosted location first, then `<storage>/.pnpr-cache/<pkg>/package.json`,
keeping the existing retry for the lazy/in-flight cache write.
2026-06-05 00:57:05 +02:00
..