Skip to content

Commit 6f03393

Browse files
committed
Try fix tests
1 parent 1c06f38 commit 6f03393

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Tests/Integration/Source1.Tests.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ Describe "Supports building without a build.psd1 and not specifying a module man
119119
Copy-Item $PSScriptRoot\Source1 TestDrive:\source -Recurse
120120
Remove-Item TestDrive:\source\build.psd1
121121

122+
Push-Location -StackName 'IntegrationTest' -Path TestDrive:\
123+
122124
$Build = @{ }
123125

124126
It "No longer fails if there's no build.psd1" {
@@ -142,7 +144,10 @@ Describe "Supports building without a build.psd1 and not specifying a module man
142144
It "Should update FunctionsToExport in the manifest" {
143145
$Build.Metadata.FunctionsToExport | Should -Be @("Get-Source", "Set-Source")
144146
}
147+
148+
Pop-Location -StackName 'IntegrationTest'
145149
}
150+
146151
Describe "Regression test for #88 not copying prefix files" -Tag Integration, Regression {
147152
$Output = Build-Module $PSScriptRoot\build.psd1 -Passthru
148153

0 commit comments

Comments
 (0)