Skip to content

Commit b34eec7

Browse files
authored
Fix name passed to Invoke-Pester -Show to show test failures
1 parent bba8fed commit b34eec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function Test-ScriptAnalyzer
329329
}
330330
else
331331
{
332-
$scriptBlock = [scriptblock]::Create("Invoke-Pester -Path $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -Show Describe,Summary,Error")
332+
$scriptBlock = [scriptblock]::Create("Invoke-Pester -Path $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -Show Describe,Summary,Failed")
333333
}
334334
if ( $InProcess ) {
335335
& $scriptBlock

0 commit comments

Comments
 (0)