You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make macOS Applications dir mockable to fix test isolation
resolveStudioProDirMacOS and mendixSearchPaths hardcoded /Applications/,
so tests that set up fake cached binaries failed on dev machines with a
real Studio Pro installation — the resolver found the real app before
reaching the cache.
Introduce package-level macOSApplicationsDir (default /Applications) and
use it in both scan sites. Tests that verify cache-preference behaviour
now call setTestApplicationsDir(t, t.TempDir()) to redirect the scan
to an empty directory, eliminating the host-machine dependency.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments