Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
giubrocchi opened this issue Oct 2, 2023 · 0 comments
Open
1 task done

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

giubrocchi opened this issue Oct 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@giubrocchi
Copy link

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
@giubrocchi giubrocchi added the bug Something isn't working label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant