We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eaedde commit 70575dcCopy full SHA for 70575dc
Extension/PesterTask/PesterV10/Pester.ps1
@@ -138,6 +138,6 @@ if (-not([String]::IsNullOrWhiteSpace($ScriptBlock))) {
138
139
$result = Invoke-Pester -Configuration ([PesterConfiguration]$PesterConfig)
140
141
-if ($Result.FailedCount -gt 0) {
+if ($Result.Failed.Count -gt 0) {
142
Write-Error "Pester Failed at least one test. Please see results for details."
143
}
0 commit comments