updated path for psd1

This commit is contained in:
dfinke
2018-06-30 21:32:09 -04:00
parent 33cf407c10
commit 13a09a8a99
2 changed files with 208 additions and 208 deletions

View File

@@ -1,4 +1,4 @@
Import-Module .\ImportExcel.psd1 -Force
Import-Module $PSScriptRoot\..\ImportExcel.psd1 -Force
$xlFile = ".\testSQL.xlsx"

View File

@@ -1,8 +1,8 @@
#Requires -Modules Pester
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
Import-Module $here -Force -Verbose
# $here = Split-Path -Parent $MyInvocation.MyCommand.Path
# 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}
Describe ExportExcel {