testing to fail the appveyor build

This commit is contained in:
dfinke
2018-07-04 08:48:10 -04:00
parent 5ed078222c
commit c707848eff

View File

@@ -4,4 +4,8 @@ if ((Get-Module -ListAvailable pester) -eq $null) {
Install-Module -Name Pester -Repository PSGallery -Force
}
Invoke-Pester -Script $PSScriptRoot\__tests__
$result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
if ($result.FailedCount -gt 0) {
throw "$($FailedCount) tests failed."
}