diff --git a/tests/PowerShellGallery.Tests.ps1 b/tests/PowerShellGallery.Tests.ps1 index 0d9b261..b8858b4 100644 --- a/tests/PowerShellGallery.Tests.ps1 +++ b/tests/PowerShellGallery.Tests.ps1 @@ -1,4 +1,6 @@ -Describe 'PowerShellGallery' { +#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' } + +Describe 'PowerShellGallery' { Context 'Function: Get-PSGalleryAPI' { It 'Should not throw' { { Get-PSGalleryAPI } | Should -Not -Throw