mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
Improve report readability: add space between number of tests and icon
This commit is contained in:
parent
e9fa2f582c
commit
153de9a26d
1 changed files with 3 additions and 3 deletions
|
|
@ -141,9 +141,9 @@ function getTestRunsReport(testRuns: TestRunResult[], options: ReportOptions): s
|
||||||
const name = tr.path
|
const name = tr.path
|
||||||
const addr = options.baseUrl + makeRunSlug(runIndex).link
|
const addr = options.baseUrl + makeRunSlug(runIndex).link
|
||||||
const nameLink = link(name, addr)
|
const nameLink = link(name, addr)
|
||||||
const passed = tr.passed > 0 ? `${tr.passed}${Icon.success}` : ''
|
const passed = tr.passed > 0 ? `${tr.passed} ${Icon.success}` : ''
|
||||||
const failed = tr.failed > 0 ? `${tr.failed}${Icon.fail}` : ''
|
const failed = tr.failed > 0 ? `${tr.failed} ${Icon.fail}` : ''
|
||||||
const skipped = tr.skipped > 0 ? `${tr.skipped}${Icon.skip}` : ''
|
const skipped = tr.skipped > 0 ? `${tr.skipped} ${Icon.skip}` : ''
|
||||||
return [nameLink, passed, failed, skipped, time]
|
return [nameLink, passed, failed, skipped, time]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue