Closed Emiyaaaaa closed 3 days ago
I notice this code
const numPassedTests = numTotalTests - numFailedTests
https://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 - numSkippedTests
any tests with skip tests
skip
any system
npm
If possible, I want to submit a PR to resolve this.
Describe the bug
I notice this code
https://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
Reproduction
any tests with
skip
testsSystem Info
Used Package Manager
npm
Validations