Mod to export-excel to be appveyor friendly

This commit is contained in:
jhoneill
2018-07-13 00:09:21 +01:00
parent 87c2ff610d
commit 82efbef979

View File

@@ -13,15 +13,15 @@ Describe ExportExcel {
$processes = Get-Process
$propertyNames = $Processes[0].psobject.properties.name
$rowcount = $Processes.Count
$Processes | Export-Excel $path -show
$Processes | Export-Excel $path #-show
it "Created a new file " {
Test-Path -Path $path -ErrorAction SilentlyContinue | Should be $true
}
it "Started Excel to display the file " {
Get-process -Name Excel, xlim -ErrorAction SilentlyContinue | Should not benullorempty
}
# it "Started Excel to display the file " {
# Get-process -Name Excel, xlim -ErrorAction SilentlyContinue | Should not benullorempty
# }
Start-Sleep -Seconds 5 ;