If you need an HTTP mocking & expectation library that can intercept arbitrary HTTP requests in Node.js and provide your own responses to them, or simulate latency on your external requests, take a look at https://github.com/pgte/nock
Shared publicly