How to test React components using Karma and webpack | Hacker News Reader