Closed chs97 closed 3 years ago
About the attachment design, I have some thoughts the first time I set attachment into the mock message Object. but I think the mock message should be the same to the message, so I use an attachment pool to manage them.
@chs97 Thank you very much for following my code reviews!
Your code looks great after the change.
About the attachment design, I'm still thinking about it.
Could you please file an issue for this PR, and descript your attachment design in detail (the problem, the solution, etc) so that we can start our discussion based on that?
I want to write some test, but Contact can't say urlLink or others type, I am using a magic way. I have written some test case on
mocker.spec.ts