Skip to content

Commit

Permalink
Update test summary output to use italic formatting for duration
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Feb 14, 2025
1 parent 9eb734e commit 6fcd8fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ $(if ($failedTests -gt 0) { "❌ **$failedTests test(s) failed**" } else { '✅
<details><summary>Details</summary>
<p>
```
``````
"@

foreach ($test in $testResults.Tests) {
Expand All @@ -333,13 +333,13 @@ foreach ($test in $testResults.Tests) {
$test.ErrorRecord
}
$summaryMarkdown += @"
- $statusIcon **$($test.Name)** $($test.Duration.Seconds)s
- $statusIcon **$($test.Name)** _$($test.Duration.Seconds)s_
"@
}

$summaryMarkdown += @"
```
``````
</p>
</details>
Expand Down

0 comments on commit 6fcd8fa

Please sign in to comment.