mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 07:43:23 +00:00
Revert "Take verbose back out of DoTests"
This reverts commit 268d48ce3d.
This commit is contained in:
@@ -9,6 +9,7 @@ param(
|
|||||||
$PSVersionTable.PSVersion
|
$PSVersionTable.PSVersion
|
||||||
$env:BUILD_ARTIFACTSTAGINGDIRECTORY
|
$env:BUILD_ARTIFACTSTAGINGDIRECTORY
|
||||||
|
|
||||||
|
$VerbosePreference = "Continue"
|
||||||
## Create the zip before the tests run
|
## Create the zip before the tests run
|
||||||
## Otherwise the EPPlus.dll is in use after the Pester run
|
## Otherwise the EPPlus.dll is in use after the Pester run
|
||||||
$ModuleVersion = (Get-Content -Raw .\ImportExcel.psd1) | Invoke-Expression | ForEach-Object ModuleVersion
|
$ModuleVersion = (Get-Content -Raw .\ImportExcel.psd1) | Invoke-Expression | ForEach-Object ModuleVersion
|
||||||
@@ -27,4 +28,4 @@ $result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
|
|||||||
|
|
||||||
if ($result.FailedCount -gt 0) {
|
if ($result.FailedCount -gt 0) {
|
||||||
throw "$($result.FailedCount) tests failed."
|
throw "$($result.FailedCount) tests failed."
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user