[aggType/test] remove unnecessary change

This commit is contained in:
spalger 2016-10-24 17:20:55 -07:00
parent 6157275f82
commit fbf884a01a

View file

@ -81,6 +81,8 @@ describe('AggType Class', function () {
describe('getFormat', function () {
it('returns the formatter for the aggConfig', function () {
let aggType = new AggType({});
let vis = new Vis(indexPattern, {
type: 'histogram',
aggs: [
@ -92,7 +94,6 @@ describe('AggType Class', function () {
});
let aggConfig = vis.aggs.byTypeName.date_histogram[0];
const aggType = aggConfig.type;
expect(aggType.getFormat(aggConfig)).to.be(fieldFormat.getDefaultInstance('date'));