Remove console.log

This commit is contained in:
Daniel García Aubert 2017-06-05 14:23:53 +02:00
parent 71e9e62db0
commit dc844f8131

View File

@ -227,11 +227,10 @@ describe('histogram-dataview for date column type', function() {
dataview.bins.forEach(function(bin, index) {
var binTimestampExpected = moment.utc(initialTimestamp).utcOffset(TIMEZONE_CEST_IN_MINUTES).add(index, 'month').format();
console.log(binTimestampExpected);
var binsTimestampInMilliseconds = bin.timestamp * 1000;
var binTimestampFormatted = moment.utc(binsTimestampInMilliseconds).utcOffset(TIMEZONE_CEST_IN_MINUTES).format();
assert.equal(binTimestampFormatted, binTimestampExpected);
assert.equal(binTimestampFormatted, binTimestampExpected);
assert.ok(bin.min <= bin.max, 'bin min < bin max: ' + JSON.stringify(bin));
});