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