We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6157275 commit fbf884aCopy full SHA for fbf884a
src/ui/public/agg_types/__tests__/agg_type.js
@@ -81,6 +81,8 @@ describe('AggType Class', function () {
81
82
describe('getFormat', function () {
83
it('returns the formatter for the aggConfig', function () {
84
+ let aggType = new AggType({});
85
+
86
let vis = new Vis(indexPattern, {
87
type: 'histogram',
88
aggs: [
@@ -92,7 +94,6 @@ describe('AggType Class', function () {
92
94
});
93
95
96
let aggConfig = vis.aggs.byTypeName.date_histogram[0];
- const aggType = aggConfig.type;
97
98
expect(aggType.getFormat(aggConfig)).to.be(fieldFormat.getDefaultInstance('date'));
99
0 commit comments