mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Cross-platform updates to DSC code in PowerShell (#13399)
This commit is contained in:
@@ -174,7 +174,14 @@ Describe "Default enablement of Experimental Features" -Tags CI {
|
||||
(Join-Path -Path $PSHOME -ChildPath 'powershell.config.json') | Should -Exist
|
||||
|
||||
foreach ($expFeature in Get-ExperimentalFeature) {
|
||||
$expFeature.Enabled | Should -BeEnabled -Name $expFeature.Name
|
||||
if ($expFeature.Name -ne "PS7DscSupport")
|
||||
{
|
||||
$expFeature.Enabled | Should -BeEnabled -Name $expFeature.Name
|
||||
}
|
||||
else
|
||||
{
|
||||
$expFeature.Enabled | Should -Not -BeEnabled -Name $expFeature.Name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user