How to use Jest mocks

For better or worse, my life has become infested by Jest mocks. I come from the land of dependency injection ( I even gave a talk once !), but whenever I talk about dependency injection to JavaScript developers I get this reaction: Instead, mocking is king. Unfortunately, I&#x2019;ve found Jests&