mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
More pester fixing
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
Describe "Join Worksheet part 1" {
|
||||
Describe "Join Worksheet part 1" {
|
||||
BeforeAll {
|
||||
$data1 = ConvertFrom-Csv -InputObject @"
|
||||
ID,Product,Quantity,Price,Total
|
||||
@@ -94,6 +93,14 @@ Describe "Join Worksheet part 1" {
|
||||
}
|
||||
|
||||
Describe "Join Worksheet part 2" {
|
||||
BeforeAll {
|
||||
if (-not (Get-command Get-CimInstance -ErrorAction SilentlyContinue)) {
|
||||
Function Get-CimInstance {
|
||||
param ($classname , $namespace)
|
||||
Import-Clixml "$PSScriptRoot\$classname.xml"
|
||||
}
|
||||
}
|
||||
}
|
||||
BeforeEach {
|
||||
$path = "TestDrive:\Test.xlsx"
|
||||
Remove-item -Path $path -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user