JavaScript,
Node.js
How To Stub A Function Using Sinon
Express
How to Mock HTTP Request In Express Unit Testing