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
Correct, /__fixtures__/ seems not working as file patterns, as far as I tested. My bad.
I expected it is treated as relative path from the repo root, but it is not.
My expectation as user is:
Don't hang up. Because it is not easy to understand what was a cause without error message.
(good to have) Warning if patterns are meaningless or broken
Describe the bug
My vitest.config.ts had
/__fixtures__/
inexclude
option.https://github.com/exoego/esbuild-bundle-analyzer/pull/124/files#diff-2ee894bf23aa44ff4ce12a3da8af19ab20180474ebf2176dbe5f2eea3f96dc92L15
It worked until Vitest 3.0.5.
But on Vitest 3.0.6 and 3.0.7, test process hangs up forever.
This hang-up is also observed in GitHub Action and job gets canceled after 5 minutes.

After some tries, it appears that an entry in
exclude
option staring with/
causes this issue.Reproduction
git clone https://github.com/exoego/vitest-hung-repro
cd vitest-hung-repro
npm i
npm run test
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: