Skip to content

Commit 850671b

Browse files
committed
refactor: clean up whitespace in test section details
1 parent 038e0df commit 850671b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

dist/reports/github.hbs

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

src/reports/github.hbs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
{{#if ctrf.summary.failed}}
4545
<details><summary><strong> Failed Tests
4646
</strong></summary>
47+
4748
{{#each ctrf.tests}}
4849
{{#if (eq status "failed")}}
4950
{{#if suite}}
@@ -61,14 +62,14 @@
6162
{{#if (countFlaky ctrf.tests)}}
6263
<details><summary><strong> Flaky Tests
6364
</strong></summary>
65+
6466
{{#each ctrf.tests}}
6567
{{#if (eq flaky true)}}
6668
{{#if suite}}
6769
{{formatTestPath suite name}}
6870
{{else}}
6971
{{name}}
7072
{{/if}}
71-
7273
{{/if}}
7374
{{/each}}
7475
</details>
@@ -77,14 +78,14 @@
7778
{{#if ctrf.summary.skipped}}
7879
<details><summary><strong> Skipped Tests
7980
</strong></summary>
81+
8082
{{#each ctrf.tests}}
8183
{{#if (eq status "skipped")}}
8284
{{#if suite}}
8385
{{formatTestPath suite name}}
8486
{{else}}
8587
{{name}}
8688
{{/if}}
87-
8889
{{/if}}
8990
{{/each}}
9091
</details>
@@ -93,14 +94,14 @@
9394
{{#if ctrf.summary.pending}}
9495
<details><summary><strong> Pending Tests
9596
</strong></summary>
97+
9698
{{#each ctrf.tests}}
9799
{{#if (eq status "pending")}}
98100
{{#if suite}}
99101
{{formatTestPath suite name}}
100102
{{else}}
101103
{{name}}
102104
{{/if}}
103-
104105
{{/if}}
105106
{{/each}}
106107
</details>
@@ -109,14 +110,14 @@
109110
{{#if ctrf.summary.other}}
110111
<details><summary><strong> Other Tests
111112
</strong></summary>
113+
112114
{{#each ctrf.tests}}
113115
{{#if (eq status "other")}}
114116
{{#if suite}}
115117
{{formatTestPath suite name}}
116118
{{else}}
117119
{{name}}
118120
{{/if}}
119-
120121
{{/if}}
121122
{{/each}}
122123
</details>

0 commit comments

Comments
 (0)