-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
describe
should not be counted as a single test
#46762
Comments
I am not sure how should subtests be counted when running using |
I'm taking a look at this now. |
When running this test suite using a testing framework it would typically be counted as a single test suite, regardless of how many individual tests are contained within it. |
With this change, test reports will count `test`, `it`, and `t.test` rather than `describe`. Fixes: nodejs#46762
when running a simple suite of tests, each suite is counted as a single test instead of counting the individual tests
for example, running
results in
I propose the summary should count 2 passed tests instead of 1
The text was updated successfully, but these errors were encountered: