How do I make mockery return the same mock that has been called? #643
Replies: 2 comments 1 reply
-
I get this error in my console: This is the code being tested which adds to help explain this scienerio better: |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was an implementation error on my end closing 😅 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want my mock to return the same mock because the actual implementation returns a new pointer to the same struct with new internal variables. Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions