mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Force generating summary if there is single results file and onlySummary is enabled
This commit is contained in:
parent
17e793242c
commit
2ac8b4498f
6 changed files with 128 additions and 167 deletions
|
|
@ -134,7 +134,7 @@ function getBadge(passed: number, failed: number, skipped: number): string {
|
|||
function getTestRunsReport(testRuns: TestRunResult[], options: ReportOptions): string[] {
|
||||
const sections: string[] = []
|
||||
|
||||
if (testRuns.length > 1) {
|
||||
if (testRuns.length > 1 || options.onlySummary) {
|
||||
const tableData = testRuns.map((tr, runIndex) => {
|
||||
const time = formatTime(tr.time)
|
||||
const name = tr.path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue