Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
fix: don't use resolved paths if they don't actually exist (#1868) master
Previously `toFilePath` would treat _any_ absolute path that doesn't start with the `root` (usually the current working directory) as a relative path, which resulted in some seriously mangled paths. Now we actually check if that resolved path exists before committing to it. This fixes #1864.
Author Simon Abbott Committer GitHub Date (Oct 31, 2022, 9:36 AM UTC) Commit 6c3d708d 6c3d708da6c0789964c8c71e3eb49b942d1cd888 Parent 28153720 28153720bcd111030de37ada133342d6b5fd2e2f