Regression: When sequence.concurrent is true, tests in a sequential suite run concurrently #6652
Closed
6 tasks done
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
Original issue report: #4473
The documentation for describe.sequential states that tests should run sequentially inside a sequential suite when Vitest is run with the --sequence.concurrent option enabled, however tests actually run concurrently.
Reproduction
Run the following tests with the --sequence.concurrent option:
The tests pass in Vitest versions 1.0.0 through to 1.6.0, but fail in version 2.0.0 onwards.
https://stackblitz.com/edit/vitest-dev-vitest-yvqmqc?file=package.json,sequential.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: