Created by Maximilian Schwarzmüller
October 17, 2018

JavaScript Testing - Mocking Async Code

# Testing: Mocking Async Code

Testing async JavaScript code or testing JS dependencies in general can be difficult. But “mocking” is a technique that can easily be implemented with Jest to make JavaScript testing a breeze again.