you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 1 year ago

In my mind a simple unit test should have caught this. Mock out the call to the service that sends the message and verify that it's been called with the correct message, and cover the possible failure scenarios. That said I hate loosely typed languages lol.

  • source
  • parent