mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-06 10:33:19 +00:00
More pester fixing
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
param()
|
||||
|
||||
describe "Consistent passing of ranges." {
|
||||
BeforeAll { $path = "TestDrive:\test.xlsx" }
|
||||
BeforeAll {
|
||||
$path = "TestDrive:\test.xlsx"
|
||||
if (-not (Get-command Get-Service -ErrorAction SilentlyContinue)) {
|
||||
Function Get-Service {Import-Clixml $PSScriptRoot\Mockservices.xml}
|
||||
}
|
||||
}
|
||||
Context "Conditional Formatting" {
|
||||
it "accepts named ranges, cells['name'], worksheet + Name, worksheet + column " {
|
||||
Remove-Item -path $path -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user