Skip to content

Commit 6df80c1

Browse files
authored
fix(tests): Force pester v4 (#4040)
1 parent 96de9c1 commit 6df80c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bin/init.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Write-Host "PowerShell: $($PSVersionTable.PSVersion)"
22
(7z.exe | Select-String -Pattern '7-Zip').ToString()
33
Write-Host "Install dependencies ..."
4-
Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name Pester -SkipPublisherCheck
4+
Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name Pester -RequiredVersion 4.10.1 -SkipPublisherCheck
55
Install-Module -Repository PSGallery -Scope CurrentUser -Force -Name PSScriptAnalyzer,BuildHelpers
66

77
if ($env:CI_WINDOWS -eq $true) {

0 commit comments

Comments
 (0)