Given that Express is my favorite Node.js web application framework, very often I find myself having to unit test handler functions. Normally these functions are simply returning the send or the render methods invocation on the res object. Sometimes a status method is invoked right before the ones mentioned above…

Mattia Richetto

Product Engineering at OpenTable

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store