API testing with Jest

from blog Koen van Gilst, | ↗ original
Testing async API calls using Jest’s mocking features