mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[agg_response/hierarchical] move tests to reflect their new home
This commit is contained in:
parent
315fb9e175
commit
d40bdce4c7
7 changed files with 43 additions and 5 deletions
|
@ -143,11 +143,12 @@
|
|||
'specs/components/reflow_watcher',
|
||||
'specs/registry/index',
|
||||
'specs/components/clipboard',
|
||||
'specs/visualize/_build_hierarchical_data',
|
||||
'specs/visualize/_extract_buckets',
|
||||
'specs/visualize/_transform_aggregation',
|
||||
'specs/visualize/_create_raw_data',
|
||||
'specs/visualize/_array_to_linked_list'
|
||||
'specs/components/agg_response/hierarchical/_build_hierarchical_data',
|
||||
'specs/components/agg_response/hierarchical/_extract_buckets',
|
||||
'specs/components/agg_response/hierarchical/_transform_aggregation',
|
||||
'specs/components/agg_response/hierarchical/_create_raw_data',
|
||||
'specs/components/agg_response/hierarchical/_array_to_linked_list',
|
||||
'specs/components/agg_response/tabify/tabify_agg_response'
|
||||
], function (kibana, sinon) {
|
||||
kibana.load(function () {
|
||||
var xhr = sinon.useFakeXMLHttpRequest();
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
define(function (require) {
|
||||
var _ = require('lodash');
|
||||
|
||||
describe('Tabify Agg Response', function () {
|
||||
describe('result of a hierarchical response', function () {
|
||||
var aggId = _.partial(_.uniqueId, '_agg_fixture');
|
||||
var bucketKey = _.partial(_.uniqueId, '_bucket_key');
|
||||
var docCount = _.partial(_.random, 0, 1000);
|
||||
|
||||
var tabifyAggResponse;
|
||||
var indexPattern;
|
||||
var Vis;
|
||||
|
||||
beforeEach(module('kibana'));
|
||||
beforeEach(inject(function (Private) {
|
||||
tabifyAggResponse = Private(require('components/agg_response/tabify/tabify_agg_response'));
|
||||
indexPattern = Private(require('fixtures/stubbed_logstash_index_pattern'));
|
||||
Vis = Private(require('components/vis/vis'));
|
||||
}));
|
||||
|
||||
describe('with no aggs', function () {
|
||||
});
|
||||
|
||||
describe('with one bucket and no metric', function () {
|
||||
});
|
||||
|
||||
describe('with one bucket and one metric', function () {
|
||||
});
|
||||
|
||||
describe('with three buckets and one metric', function () {
|
||||
});
|
||||
|
||||
describe('with three buckets and three metrics', function () {
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue