fix: honor test planner cache paths by target platform

This commit is contained in:
Peter Steinberger
2026-03-27 07:53:57 +00:00
parent 1b77e6fd72
commit a30dae3c71
2 changed files with 15 additions and 1 deletions

View File

@@ -146,7 +146,8 @@ export const resolveVitestFsModuleCachePath = ({
if (explicitPath) {
return explicitPath;
}
return path.join(
const pathImpl = isWindowsEnv(env, platform) ? path.win32 : path.posix;
return pathImpl.join(
cwd,
"node_modules",
".experimental-vitest-cache",