Community

Disguise Driven Testing: Jest Mocks In Depth — Part 2

(Joe Morgan) Mocks are a great way of preventing AJAX calls in tests, but they can also help you isolate side effects and impurities that can create complicated tests.