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
The documentation for describe.sequential states that it has the function of running tests serially within a describe.concurrent suite. However, there is no difference in behaviour between describe and describe.sequential. Both types of suite run tests serially, making describe.sequential have no effect.
For example, both of the following tests have the same behaviour:
Describe the bug
The documentation for describe.sequential states that it has the function of running tests serially within a
describe.concurrent
suite. However, there is no difference in behaviour betweendescribe
anddescribe.sequential
. Both types of suite run tests serially, makingdescribe.sequential
have no effect.For example, both of the following tests have the same behaviour:
With
describe.sequential
:With
describe
:Reproduction: https://stackblitz.com/edit/vitest-dev-vitest-ri5bfg?file=nested-concurrent.test.ts
Expected behaviour
Tests within nested suites inside a concurrent suite run concurrently but can be changed to run sequentially using
describe.sequential
. I.e.:Proposed fix
Ensure that concurrent/sequential options are inherited from the parent suite.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-ri5bfg?file=nested-concurrent.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: