|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
"use strict";
|
|
|
|
|
var vows = require('vows')
|
|
|
|
|
, assert = require('assert')
|
|
|
|
|
, levels = require('../lib/levels');
|
|
|
|
@ -26,7 +27,7 @@ function MockRequest(remoteAddr, method, originalUrl) {
|
|
|
|
|
this.method = method;
|
|
|
|
|
this.httpVersionMajor = '5';
|
|
|
|
|
this.httpVersionMinor = '0';
|
|
|
|
|
this.headers = {}
|
|
|
|
|
this.headers = {};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -36,7 +37,7 @@ function MockResponse(statusCode) {
|
|
|
|
|
|
|
|
|
|
this.end = function(chunk, encoding) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -124,5 +125,4 @@ vows.describe('log4js connect logger').addBatch({
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}).export(module);
|
|
|
|
|