Testing Node.js applications

Date: Sat Jul 01 2017 Node.js Testing
Don't rip your hair out when Vows tells you "Errored callback not fired" - try this one weird trick instead: Vows is a great unit testing framework for Node.js. But, it can be inscrutable sometimes.

Unit testing Express route handlers in isolation from everything, including Express: With proper isolation techniques, you can test an Express route handler completely separated from everything including Express.