Skip to content

Commit 14ca53d

Browse files
fix: better pr view
1 parent 91b0761 commit 14ca53d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/quality.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,15 +354,15 @@ jobs:
354354
if (testComparison.new.length > 0 || testComparison.deleted.length > 0 || testComparison.skipped.length > 0) {
355355
testChangesSummary = `
356356
<details>
357-
<summary>Test Changes Summary ✨${testComparison.new.length} ${testComparison.skipped.length > 0 ? `⏭️${testComparison.skipped.length}` : ''} 🗑️${testComparison.deleted.length}</summary>
357+
<summary>Test Changes Summary ${testComparison.new.length > 0 ? `✨${testComparison.new.length} ` : ''}${testComparison.skipped.length > 0 ? `⏭️${testComparison.skipped.length} ` : ''}${testComparison.deleted.length > 0 ? `🗑️${testComparison.deleted.length}` : ''}</summary>
358358
359359
${testComparison.new.length > 0 ? `#### ✨ New Tests (${testComparison.new.length})
360-
${testComparison.new.map((test, i) => `${i + 1}. ${test}`).join('\n')}` : ''}
360+
${testComparison.new.map((test, i) => `${i + 1}. ${test}`).join('\n')}
361361
362-
${testComparison.skipped.length > 0 ? `#### ⏭️ Skipped Tests (${testComparison.skipped.length})
363-
${testComparison.skipped.map((test, i) => `${i + 1}. ${test}`).join('\n')}` : ''}
362+
` : ''}${testComparison.skipped.length > 0 ? `#### ⏭️ Skipped Tests (${testComparison.skipped.length})
363+
${testComparison.skipped.map((test, i) => `${i + 1}. ${test}`).join('\n')}
364364
365-
${testComparison.deleted.length > 0 ? `#### 🗑️ Deleted Tests (${testComparison.deleted.length})
365+
` : ''}${testComparison.deleted.length > 0 ? `#### 🗑️ Deleted Tests (${testComparison.deleted.length})
366366
${testComparison.deleted.map((test, i) => `${i + 1}. ${test}`).join('\n')}` : ''}
367367
</details>`;
368368
}

0 commit comments

Comments
 (0)