mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 07:43:23 +00:00
report # of tests correctly
This commit is contained in:
@@ -7,5 +7,5 @@ if ((Get-Module -ListAvailable pester) -eq $null) {
|
|||||||
$result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
|
$result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
|
||||||
|
|
||||||
if ($result.FailedCount -gt 0) {
|
if ($result.FailedCount -gt 0) {
|
||||||
throw "$($FailedCount) tests failed."
|
throw "$($result.FailedCount) tests failed."
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user