mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
failed tests only show with failed option on
This commit is contained in:
parent
b9ac788b26
commit
9b27ff7260
3 changed files with 3 additions and 38 deletions
|
|
@ -233,6 +233,9 @@ function getTestsReport(ts: TestSuiteResult, runIndex: number, suiteIndex: numbe
|
|||
}
|
||||
const space = grp.name ? ' ' : ''
|
||||
for (const tc of grp.tests) {
|
||||
if (options.listTests === 'failed' && tc.result !== 'failed') {
|
||||
continue
|
||||
}
|
||||
if (options.listTests === 'non-skipped' && tc.result === 'skipped') {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue