0.29.2 "No test suite found in file" thrown in setup files when using experimentalOptimizer: true
#2939
Closed
6 tasks done
experimentalOptimizer: true
#2939
Describe the bug
I noticed that with
experimentalOptimizer: true
my setup file is throwing:This is unexpected because the setup file doens't have any test suites.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-7pfeua?file=setupFile.ts
To reproduce you'll need vitest configuration to have:
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: