Unit testing React components without a DOM | Hacker News Reader