Skip to content

Commit

Permalink
Merge pull request #39 from theohbrothers/test/unit-fix-error-message…
Browse files Browse the repository at this point in the history
…-for-when-not-all-tests-have-a-passed-status

Test (unit): Fix error message for when not all tests have a passed status
  • Loading branch information
joeltimothyoh authored May 15, 2024
2 parents 2803ef1 + f885258 commit c01aa3b
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 c01aa3b

Please sign in to comment.