fixed timezone flakiness
This commit is contained in:
parent
e4d5228f2b
commit
9b538ee8ed
@ -188,6 +188,9 @@ vows.describe('log4js layouts').addBatch({
|
|||||||
testFunction: function() { return 'testFunctionToken'; },
|
testFunction: function() { return 'testFunctionToken'; },
|
||||||
fnThatUsesLogEvent: function(logEvent) { return logEvent.level.toString(); }
|
fnThatUsesLogEvent: function(logEvent) { return logEvent.level.toString(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//override getTimezoneOffset
|
||||||
|
event.startTime.getTimezoneOffset = function() { return 0; };
|
||||||
return [layout, event, tokens];
|
return [layout, event, tokens];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user