Skip to content

Commit

Permalink
feat: add condition for failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Dec 9, 2024
1 parent 4bd31a1 commit d2f1b85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reports/ai-table.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{#if (anyFailedTests ctrf.tests)}}
<table>
<thead>
<tr>
Expand All @@ -16,4 +17,7 @@
{{~/each}}
</tbody>
</table>
{{else}}
<p>No failed tests ✨</p>
{{/if}}

0 comments on commit d2f1b85

Please sign in to comment.