slowTestThreshold
applies to the suite instead of individual tests
#6534
Labels
documentation
Improvements or additions to documentation
Describe the bug
From documentation :
In practice, if a suite takes longer than
slowtestthreshold
, the suite is considered slow.I expect a test to be considered slow, but not a suite based on the sum of its tests execution time.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-rqmwvp?file=test%2Fbasic.test.ts
The threshold has been set to
100
.System Info
Stackblitz, `vitest@latest`
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: