We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 908cd3a commit 1261df2Copy full SHA for 1261df2
Tests/Engine/ModuleDependencyHandler.tests.ps1
@@ -41,7 +41,7 @@ Describe "Resolve DSC Resource Dependency" {
41
42
Context "Module handler class" {
43
BeforeAll {
44
- if ( $skipTest ) { return }
+ if ($PSversionTable.PSVersion -lt [Version]'5.0.0') { return }
45
$moduleHandlerType = [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.ModuleDependencyHandler]
46
$oldEnvVars = Get-Item Env:\* | Sort-Object -Property Key
47
$oldPSModulePath = $env:PSModulePath
0 commit comments