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 48be833 commit 2100b53Copy full SHA for 2100b53
extensions/appx/appx.tests.ps1
@@ -1,12 +1,8 @@
1
# Copyright (c) Microsoft Corporation.
2
# Licensed under the MIT License.
3
4
-Describe 'Tests for Appx resource discovery' {
5
- BeforeAll {
6
- $skip = (!$IsWindows -or ($null -eq (Get-Command Get-AppxPackage -ErrorAction Ignore)) -or ($null -eq (get-appxpackage -Name Microsoft.DesiredStateConfiguration-Preview)))
7
- }
8
-
9
- It 'Should find DSC appx resources' -Skip:$skip {
+Describe 'Tests for Appx resource discovery' -Skip:(!$IsWindows){
+ It 'Should find DSC appx resources' {
10
$out = dsc resource list | ConvertFrom-Json
11
$LASTEXITCODE | Should -Be 0
12
$found = $false
0 commit comments