Ideas Into Software

Musings on writing code

All posts tagged mocha

Hapi - Inject with Mocha

Hapi is a very solid framework that makes writing maintainable and testable web servers so much easier than, say, Express, that I'm seriously considering flying to Los Gatos just to buy @eranhammer a beer. There's just this one thing bothering me. If you're using Mocha, no doubt you'll very soon come across #1299 - exceptions thrown in server.inject do