Mock function with -OutVariable #2455
marais-vzc
started this conversation in
General
Replies: 1 comment
-
I assume you mean that the return value is not stored in the expected variable. I'm not aware of a good way to do this. You can replace Be aware that the scope level
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have to mock the
Find-Package
cmdlet, but unable to because we use theOutVariable
parameter. How would this be done?I have done the following, but it doesn't work:
Beta Was this translation helpful? Give feedback.
All reactions