We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dd6735 commit 16643abCopy full SHA for 16643ab
extensions/powershell/powershell.discover.tests.ps1
@@ -46,6 +46,9 @@ BeforeAll {
46
47
$adaptedManifestPath = Join-Path $TestDrive "fake.dsc.adaptedresource.json"
48
$fakeAdaptedManifest | ConvertTo-Json -Depth 10 | Set-Content -Path $adaptedManifestPath
49
+
50
+ $fakePsd1Path = Join-Path $TestDrive "FakeAdapted.psd1"
51
+ Set-Content -Path $fakePsd1Path -Value "@{ ModuleVersion = '0.1.0' }"
52
$script:OldPSModulePath = $env:PSModulePath
53
$env:PSModulePath += [System.IO.Path]::PathSeparator + $TestDrive
54
0 commit comments