Launch and stop HTTP Server before/after each tests.
Config:
hydro.set({
plugins: ['hydro-http-server'],
httpServer: {
app: function(req, res){}, // request handler, could be express, connect etc.
port: 3003, // server port, default: 3003, optional
timeout: 100 // server timeout, default: 100, optional
}
});
npm install hydro-http-server
$ npm test
The MIT License (see LICENSE)