Skip to content

Commit bbe5489

Browse files
Chore/update report preparation tests and coverage badge; remove unused report footer checks (#178)
1 parent d2c55e0 commit bbe5489

File tree

6 files changed

+4
-23
lines changed

6 files changed

+4
-23
lines changed

__tests__/ctrf/report-preparation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,4 +600,4 @@ function createSingleReportInputs(): Inputs {
600600
statusCheckName: '',
601601
reportOrder: []
602602
}
603-
}
603+
}

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

ctrf-reports/ctrf-report.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@
9595
}
9696
]
9797
}
98-
}
98+
}

dist/index.js

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github/core.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -160,17 +160,6 @@ function addReportFooters(
160160
)
161161
}
162162

163-
const hasHiddenReports =
164-
extra?.includeFailedReportCurrentFooter ||
165-
extra?.includeFailedReportAllFooter ||
166-
extra?.includeFlakyReportCurrentFooter ||
167-
extra?.includeFlakyReportAllFooter ||
168-
extra?.includeSkippedReportCurrentFooter
169-
170-
if (hasHiddenReports) {
171-
footerMessages.push(`📋 Some reports are hidden`)
172-
}
173-
174163
if (footerMessages.length > 0) {
175164
core.summary
176165
.addRaw(`<sub><i>${footerMessages.join(' | ')}</i></sub>`)

0 commit comments

Comments
 (0)