Skip to content

Commit

Permalink
added -Scope 'It'
Browse files Browse the repository at this point in the history
  • Loading branch information
vicperdana committed Aug 21, 2024
1 parent 4d0eebb commit f0fe5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PSDocs.Tests/PSDocs.Common.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Describe 'Get-PSDocument' -Tag 'Cmdlet', 'Common', 'Get-PSDocument' {
$Null = Get-PSDocument -Module 'TestModule';
Assert-MockCalled -CommandName 'LoadModule' -ModuleName 'PSDocs' -Times 1 -Scope 'It';
#>
Assert-MockCalled -CommandName 'LoadModule' -ModuleName 'PSDocs' -Times 1;
Assert-MockCalled -CommandName 'LoadModule' -ModuleName 'PSDocs' -Times 1 -Scope 'It';
if ($Null -eq $currentLoadingPreference) {
Remove-Variable -Name PSModuleAutoLoadingPreference -Force -ErrorAction SilentlyContinue;
}
Expand Down

0 comments on commit f0fe5c2

Please sign in to comment.