Jest Unit Test issue Trying to test whether the function sendEmailWithTemplate has been called. The function is being called, but the unit test doesn't pick up on it. To reproduce Clone repo yarn yarn jest