mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 05:13:49 +00:00
Force install of pester
This commit is contained in:
15
DoTests.ps1
15
DoTests.ps1
@@ -1,10 +1,9 @@
|
|||||||
|
|
||||||
Get-Module -ListAvailable pester | Out-Host
|
# Get-Module -ListAvailable pester | Out-Host
|
||||||
|
# return
|
||||||
|
# if ((Get-Module -ListAvailable pester) -eq $null) {
|
||||||
|
# Install-Module -Name Pester -Repository PSGallery -Force
|
||||||
|
# }
|
||||||
|
|
||||||
|
Install-Module -Name Pester -Repository PSGallery -Force
|
||||||
return
|
Invoke-Pester -Script $PSScriptRoot\UnitTests
|
||||||
if ((Get-Module -ListAvailable pester) -eq $null) {
|
|
||||||
Install-Module -Name Pester -Repository PSGallery -Force
|
|
||||||
}
|
|
||||||
|
|
||||||
Invoke-Pester -Script $PSScriptRoot\UnitTests\
|
|
||||||
Reference in New Issue
Block a user