mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-16 08:13:54 +00:00
updated path for psd1
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
Import-Module .\ImportExcel.psd1 -Force
|
Import-Module $PSScriptRoot\..\ImportExcel.psd1 -Force
|
||||||
|
|
||||||
$xlFile = ".\testSQL.xlsx"
|
$xlFile = ".\testSQL.xlsx"
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Requires -Modules Pester
|
#Requires -Modules Pester
|
||||||
|
|
||||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
# $here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||||
|
# Import-Module $here -Force -Verbose
|
||||||
Import-Module $here -Force -Verbose
|
Import-Module $PSScriptRoot\..\ImportExcel.psd1 -Force
|
||||||
|
|
||||||
if (Get-process -Name Excel,xlim -ErrorAction SilentlyContinue) { Write-Warning -Message "You need to close Excel before running the tests." ; return}
|
if (Get-process -Name Excel,xlim -ErrorAction SilentlyContinue) { Write-Warning -Message "You need to close Excel before running the tests." ; return}
|
||||||
Describe ExportExcel {
|
Describe ExportExcel {
|
||||||
|
|||||||
Reference in New Issue
Block a user