Skip to content

Multiple async describe causes some test to not be run. #703

Description

@MonsieurMan

Describe the bug

The bug is quite strange, when using multiple nested async describe, some test can be skipped for no apparent reason.

As pointed out in the repro comments, commenting some describes make the previously skipped test to run.

There is no part of the form to do it, so, thank you guys a lot, that is amazing work you are doing here! 🚀

Reproduction

https://stackblitz.com/edit/vitest-dev-vitest-trh7ej?file=test/suite.test.ts

I isolated a minimal repro with only three describe and an async function using a timeout.

System Info

See provided StackBlitz.

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions