JavaScript testing tutorial – part 4. Mocking API calls, simulating interactions | Heykuki News