Skip to content

Commit

Permalink
Fix help links
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Dec 16, 2024
1 parent 1472501 commit ca7b169
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/functions/assert/Mock/Should-Invoke.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
6 changes: 6 additions & 0 deletions src/functions/assert/Mock/Should-NotInvoke.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ca7b169

Please sign in to comment.