diff --git a/src/functions/assert/Mock/Should-Invoke.ps1 b/src/functions/assert/Mock/Should-Invoke.ps1 index c83df8991..c57f972b9 100644 --- a/src/functions/assert/Mock/Should-Invoke.ps1 +++ b/src/functions/assert/Mock/Should-Invoke.ps1 @@ -133,6 +133,12 @@ being executed instead of a mock), these calls to the original command are not tracked in the call history. In other words, Should -Invoke can only be used to check for calls to the mocked implementation, not to the original. + + .LINK + https://pester.dev/docs/commands/Should-Invoke + + .LINK + https://pester.dev/docs/assertions #> [CmdletBinding(DefaultParameterSetName = 'Default')] param( diff --git a/src/functions/assert/Mock/Should-NotInvoke.ps1 b/src/functions/assert/Mock/Should-NotInvoke.ps1 index f9e34a545..72a801e84 100644 --- a/src/functions/assert/Mock/Should-NotInvoke.ps1 +++ b/src/functions/assert/Mock/Should-NotInvoke.ps1 @@ -132,6 +132,12 @@ being executed instead of a mock), these calls to the original command are not tracked in the call history. In other words, Should -Invoke can only be used to check for calls to the mocked implementation, not to the original. + + .LINK + https://pester.dev/docs/commands/Should-NotInvoke + + .LINK + https://pester.dev/docs/assertions #> [CmdletBinding(DefaultParameterSetName = 'Default')] param(