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
Jest runs the slowest tests first. That decreases overall runtime of our test-suite from ~90s to ~70s. In vitest the same suite always takes ~110s mainly due to the increased isolation (which is the greatest feature of vitest imo) but also because it so happens that the slow test files are started near the end of the run.
Suggested solution
Either implement Jest's approach and run the slowest test suites first or allow the user to specify the order in which tests are started. I would prefer Jest's approach.
Clear and concise description of the problem
Jest runs the slowest tests first. That decreases overall runtime of our test-suite from ~90s to ~70s. In vitest the same suite always takes ~110s mainly due to the increased isolation (which is the greatest feature of vitest imo) but also because it so happens that the slow test files are started near the end of the run.
Suggested solution
Either implement Jest's approach and run the slowest test suites first or allow the user to specify the order in which tests are started. I would prefer Jest's approach.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: