Open 0xWOF opened 1 year ago
Hi @0xWOF
That's a great suggestion, thank you! I'd love to have that in the library 👍
I like approach 1, but it would be nice to have a single function for it.
Give me some time to ponder this, and I'll get back to you.
Hello, thank you for building awesome project. I suggest that adding
hasCalled(_, with:)
to support verify mock function is called with specific argument. I think it is very common usecase and it would be very helpful to users. If you okay with suggestion 1 or suggestion 2, I'll happy to create pull request. Thanks!suggestion 1
implementation
usage
suggestion 2
implementation
usage