Closed diego-pan closed 11 months ago
I think what we would need here is to make the -t
param more precise.
the runner adds -t 'creates a user account'
, which in your example matches both test cases. maybe better would be -t '^creates a user account$'
.
i think this pull-request https://github.com/firsttris/vscode-jest-runner/pull/282 contains what you need?
i think this pull-request #282 contains what you need?
exactly
I'm experiencing a situation where when I choose to Run, or Debug a single test, it actually runs two tests.
For example, when I choose Debug here:
It will run the test I chose, and the one below it. If seems to pick up this second test based on the test description string -- since they both begin with similar text: "creates a user account".
Is this by design? Is there a configuration option that I could tweak so only tests I choose are run?