diff --git a/src/core_plugins/spy_modes/public/table_spy_mode.js b/src/core_plugins/spy_modes/public/table_spy_mode.js index 3251e3a113896..21b28abcdb4f7 100644 --- a/src/core_plugins/spy_modes/public/table_spy_mode.js +++ b/src/core_plugins/spy_modes/public/table_spy_mode.js @@ -1,4 +1,4 @@ -import 'ui/agg_table'; +// import 'ui/agg_table'; import { AggResponseTabifyProvider } from 'ui/agg_response/tabify/tabify'; import tableSpyModeTemplate from 'plugins/spy_modes/table_spy_mode.html'; import { SpyModesRegistryProvider } from 'ui/registry/spy_modes'; diff --git a/src/ui/public/agg_types/__tests__/buckets/date_histogram/_date_histogram.js b/src/ui/public/agg_types/__tests__/buckets/date_histogram/_date_histogram.js deleted file mode 100644 index e2e65bb1f4e97..0000000000000 --- a/src/ui/public/agg_types/__tests__/buckets/date_histogram/_date_histogram.js +++ /dev/null @@ -1,4 +0,0 @@ -import './_editor'; -import './_params'; -describe('Date Histogram Agg', function () { -}); diff --git a/src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js b/src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js index 28c0d5fd7dafb..edbca8af1a055 100644 --- a/src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js +++ b/src/ui/public/agg_types/__tests__/buckets/date_histogram/_editor.js @@ -97,31 +97,5 @@ describe('editor', function () { }); }); - describe('interval "auto" and indexPattern timeField', function () { - let params; - - beforeEach(function () { - params = render({ field: indexPattern.timeFieldName, interval: 'auto' }); - }); - - it('clears the interval when the field is changed', function () { - expect(params.interval.modelValue().val).to.be('auto'); - expect(params.field.modelValue().name).to.be(indexPattern.timeFieldName); - - const field = _.find(indexPattern.fields, function (f) { - return f.type === 'date' && f.name !== indexPattern.timeFieldName; - }); - - params.field.$input() - .find('option') - .filter(function () { - return $(this).text().trim() === field.name; - }) - .prop('selected', true); - params.field.$input().change(); - - expect(params.interval.modelValue()).to.be(undefined); - }); - }); }); diff --git a/src/ui/public/agg_types/__tests__/index.js b/src/ui/public/agg_types/__tests__/index.js index a15460909f7de..c281867d9a3dd 100644 --- a/src/ui/public/agg_types/__tests__/index.js +++ b/src/ui/public/agg_types/__tests__/index.js @@ -5,6 +5,8 @@ import './agg_params'; import './buckets/_histogram'; import './buckets/_geo_hash'; import './buckets/_range'; +import './buckets/date_histogram/_editor'; +import './buckets/date_histogram/_params'; import { AggTypesIndexProvider } from 'ui/agg_types/index'; import { AggTypesBucketsBucketAggTypeProvider } from 'ui/agg_types/buckets/_bucket_agg_type'; import { AggTypesMetricsMetricAggTypeProvider } from 'ui/agg_types/metrics/metric_agg_type';