node-nock

Nock is an HTTP mocking and expectations library for Node.js
  https://github.com/nock/nock
  0
  no reviews



Nock can be used to test modules that perform HTTP requests in isolation. For instance, if a module performs HTTP requests to a CouchDB server or makesi HTTP requests to the Amazon API, you can test that module in isolation.

Node.js is an event-based server-side JavaScript engine.