lib/request.js
/**
* Creates an instance of `Request`.
*
* This class is used as a mock when testing Locomotive helpers, substituted in
* place of of a Node's `http.IncomingMessage`.
*
* @constructor
* @api protected
*/
function Request() {
this.method = 'GET';
this.url = '/';
this.headers = {};
}
/**
* Expose `Request`.
*/
module.exports = Request;