Skip to content

[Bug]: Running tests from nested describe blocks doesn't work #78

Open
@giubrocchi

Description

@giubrocchi

Node.js Version

v18.15.0

How did you encounter this bug?

I was trying to run a single test inside nested describe blocks, but it ended up running all the tests from the inner describe block.

describe('outer describe', () => { describe('inner describe', () => { it('test A', () => {...}) it('test B', () => {...}) }) })

Actual Behaviour

By clicking on the "Run" button for test A, it actually runs both test A and B.

Expected Behaviour

By clicking on the "Run" button for test A, I would expect it to run only test A.

Code of Conduct

  • I agree to follow jest-runner-vscode's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions