Karma Test Runner: Setting Up Server-Side Execution for Node.js Applications
Karma runs tests in real browsers through a WebSocket server. Use ChromeHeadless for CI environments by configuring the browsers array in karma.conf.js. This gives real browser behavior without GUI overhead.