Skip to content

Commit 5b1e785

Browse files
committed
fix: increment failedCount for failed results without pending issue
1 parent ac3f9c1 commit 5b1e785

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/swift-testing-event-parser.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ export function createSwiftTestingEventParser(
123123
// Swift Testing result line: ✔/✘/◇ Test "Name" passed/failed/skipped (non-failure or no pending issue)
124124
if (stResult) {
125125
completedCount += 1;
126+
if (stResult.status === 'failed') {
127+
failedCount += 1;
128+
}
126129
if (stResult.status === 'skipped') {
127130
skippedCount += 1;
128131
}

0 commit comments

Comments
 (0)