didx-xyz / ssi-trust-registry

Trust Registry for Self-Sovereign Identity Ecosystems
Apache License 2.0
6 stars 3 forks source link

refactor: add clearSentMessages to createEmailClientStub #218

Closed andrii-uhryn-absa closed 9 months ago

jakubkoci commented 9 months ago

I think emailClient.sentMessages.length = 0 is simpler, but let's see what @jakubkoci says also

Can you give me more context please? :)

niall-shaw commented 9 months ago

Agreed that emailClient.sentMessages.length = 0 may be misleading, so we will stick with the functional approach.