mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Compile dist code
This commit is contained in:
parent
2312e637f3
commit
6adcc0c72a
1 changed files with 3 additions and 0 deletions
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
|
@ -2115,6 +2115,9 @@ function getTestsReport(ts, runIndex, suiteIndex, options) {
|
||||||
}
|
}
|
||||||
const space = grp.name ? ' ' : '';
|
const space = grp.name ? ' ' : '';
|
||||||
for (const tc of grp.tests) {
|
for (const tc of grp.tests) {
|
||||||
|
if (options.listTests === 'failed' && tc.result !== 'failed') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const result = getResultIcon(tc.result);
|
const result = getResultIcon(tc.result);
|
||||||
sections.push(`${space}${result} ${tc.name}`);
|
sections.push(`${space}${result} ${tc.name}`);
|
||||||
if (tc.error) {
|
if (tc.error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue