Skip to content

Commit

Permalink
chore: Import PSDocs module in PSDocs.Common.Tests.ps1
Browse files Browse the repository at this point in the history
Import the PSDocs module in the PSDocs.Common.Tests.ps1 file to ensure that the necessary dependencies are available for testing.
  • Loading branch information
vicperdana committed Aug 21, 2024
1 parent 308e7e6 commit 34afba2
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 @@ -43,6 +43,7 @@ Describe 'PSDocs instance names' -Tag 'Common', 'InstanceName' {
InputObject = $dummyObject
OutputPath = $outputPath
}
Import-Module (Join-Path -Path $rootPath.Path -ChildPath out/modules/PSDocs) -Force;
}
$result = Invoke-PSDocument @invokeParams -Name 'WithoutInstanceName';
It 'Should generate an output named WithoutInstanceName.md' {
Expand Down

0 comments on commit 34afba2

Please sign in to comment.