diff --git a/UnitTests/ImportExcelTests/Simple.tests.ps1 b/UnitTests/ImportExcelTests/Simple.tests.ps1 index f5ba8f7..9ba58d2 100644 --- a/UnitTests/ImportExcelTests/Simple.tests.ps1 +++ b/UnitTests/ImportExcelTests/Simple.tests.ps1 @@ -6,7 +6,8 @@ Describe "test" { } It "$PSScriptRoot\Simple.xlsx should exist" { - Test-Path "$PSScriptRoot\Simple.xlsx" | Should Be $true + ((ls "$PSScriptRoot\Simple.xlsx") -eq $null) | should be $false + # Test-Path "$PSScriptRoot\Simple.xlsx" | Should Be $true #$PSScriptRoot\Simple.xlsx | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx" } }