How we test client-side JavaScript: Setup and Patterns | Hacker News Reader