wip
This commit is contained in:
parent
eb791af722
commit
f8cb6f90bb
@ -202,7 +202,6 @@ function Invoke-UnitTest {
|
|||||||
$TestResults = Invoke-Pester -Configuration $PesterConf -ErrorAction 'Stop'
|
$TestResults = Invoke-Pester -Configuration $PesterConf -ErrorAction 'Stop'
|
||||||
|
|
||||||
if ($TestResults.FailedCount -gt 0) {
|
if ($TestResults.FailedCount -gt 0) {
|
||||||
Write-FailureStateFile -StepName 'Pester'
|
|
||||||
throw ('{0} tests failed!' -f $TestResults.FailedCount)
|
throw ('{0} tests failed!' -f $TestResults.FailedCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user