-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pr welcome
Description
Describe the bug
I notice this code
const numPassedTests = numTotalTests - numFailedTestshttps://github.com/vitest-dev/vitest/blob/main/packages/vitest/src/node/reporters/json.ts#L107
I think the skipped tests are not passed tests, this code should be
const numPassedTests = numTotalTests - numFailedTests - numSkippedTestsReproduction
any tests with skip tests
System Info
any systemUsed Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pr welcome