Skip to content

Commit

Permalink
Test (unit): Fix error message for when not all tests have a passed s…
Browse files Browse the repository at this point in the history
…tatus
  • Loading branch information
joeltimothyoh committed May 15, 2024
1 parent 2803ef1 commit f885258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ try {
# Run Unit Tests
$res = Invoke-Pester -Script $MODULE_DIR -Tag 'Unit' -PassThru -ErrorAction Stop
if (!($res.PassedCount -eq $res.TotalCount)) {
"$($res.TotalCount - $res.PassedCount) integration tests did not pass." | Write-Host
"$($res.TotalCount - $res.PassedCount) unit tests did not pass." | Write-Host
}

# Run Integration Tests
Expand Down

0 comments on commit f885258

Please sign in to comment.