mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[aggType/test] remove unnecessary change
This commit is contained in:
parent
6157275f82
commit
fbf884a01a
1 changed files with 2 additions and 1 deletions
|
@ -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'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue