mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 13:23:29 +00:00
Mod to export-excel to be appveyor friendly
This commit is contained in:
@@ -13,15 +13,15 @@ Describe ExportExcel {
|
|||||||
$processes = Get-Process
|
$processes = Get-Process
|
||||||
$propertyNames = $Processes[0].psobject.properties.name
|
$propertyNames = $Processes[0].psobject.properties.name
|
||||||
$rowcount = $Processes.Count
|
$rowcount = $Processes.Count
|
||||||
$Processes | Export-Excel $path -show
|
$Processes | Export-Excel $path #-show
|
||||||
|
|
||||||
it "Created a new file " {
|
it "Created a new file " {
|
||||||
Test-Path -Path $path -ErrorAction SilentlyContinue | Should be $true
|
Test-Path -Path $path -ErrorAction SilentlyContinue | Should be $true
|
||||||
}
|
}
|
||||||
|
|
||||||
it "Started Excel to display the file " {
|
# it "Started Excel to display the file " {
|
||||||
Get-process -Name Excel, xlim -ErrorAction SilentlyContinue | Should not benullorempty
|
# Get-process -Name Excel, xlim -ErrorAction SilentlyContinue | Should not benullorempty
|
||||||
}
|
# }
|
||||||
|
|
||||||
Start-Sleep -Seconds 5 ;
|
Start-Sleep -Seconds 5 ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user