mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +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
|
||||
|
||||
if ($result.FailedCount -gt 0) {
|
||||
throw "$($FailedCount) tests failed."
|
||||
throw "$($result.FailedCount) tests failed."
|
||||
}
|
||||
Reference in New Issue
Block a user