Skip to content

Commit 1abfd9e

Browse files
Require Pester 6.x in test files
1 parent ea0734c commit 1abfd9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/PowerShellGallery.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Describe 'PowerShellGallery' {
1+
#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*'; GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71' }
2+
3+
Describe 'PowerShellGallery' {
24
Context 'Function: Get-PSGalleryAPI' {
35
It 'Should not throw' {
46
{ Get-PSGalleryAPI } | Should -Not -Throw

0 commit comments

Comments
 (0)