fix: resolve test runner scoping issue
see https://github.com/pester/Pester/issues/2386
This commit is contained in:
parent
76ea9527b1
commit
956186c654
7 changed files with 8 additions and 21 deletions
|
|
@ -2,7 +2,7 @@
|
|||
$ErrorActionPreference = "Stop"
|
||||
|
||||
BeforeAll {
|
||||
Import-Module (Join-Path $PSScriptRoot 'PSConfluencePublisher.psd1') -Force
|
||||
Import-Module (Join-Path $PSScriptRoot 'PSConfluencePublisher.psd1')
|
||||
|
||||
$mockHost = 'confluence.contoso.com'
|
||||
|
||||
|
|
@ -62,4 +62,4 @@ Describe 'Get-PersonalAccessToken' `
|
|||
Get-PersonalAccessToken $mockHost | Should -Be $mockPat
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue