Mocking External Services in Jest — The Easy Way
In the world of modern web applications and microservice architecture, chances are your application makes calls to an external service. Maybe you’re storing user data in a cloud database such as Firestore, uploading photos to a media platform…