Mock Node.js http server for testing. Regurgitates the request object.
npm install mocksy --save-dev
var Mocksy = ;var mocksy = port: 4321;// In your test runner;
Create and instance of the mocksy mock server. Optionally pass in the following options
port- server port. defaults to 1137 if no port is provided
Starts the mocksy mock server. Takes a callback as the only argument.
Stops the mocksy mock server. Takes a callback as the only argument.