Skip to content

Commit

Permalink
Update PSDocs.Common.Tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
vicperdana authored Aug 22, 2024
1 parent dd3ac0a commit 92b5390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/PSDocs.Tests/PSDocs.Common.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ Describe 'Get-PSDocument' -Tag 'Cmdlet', 'Common', 'Get-PSDocument' {
$Null = Import-Module $testModuleSourcePath -Force;
$result = @(Get-PSDocument -Module 'TestModule');
$currentLoadingPreference = Get-Variable -Name PSModuleAutoLoadingPreference -ErrorAction SilentlyContinue -ValueOnly
$Env:PSModulePath = $here;
}
It 'Returns documents' {
$result | Should -Not -BeNullOrEmpty;
Expand Down

0 comments on commit 92b5390

Please sign in to comment.