mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
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.
7 lines
120 B
JSON
7 lines
120 B
JSON
{
|
|
"name": "@vitest/test-path-resolution-target",
|
|
"type": "module",
|
|
"private": true,
|
|
"main": "./dist/index.js"
|
|
}
|