diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index 1c73d917559..1389f0f68d8 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -19,6 +19,9 @@ define([ 'kbn', 'moment', './timeSeries', + 'services/filterSrv', + 'services/annotationsSrv', + 'services/datasourceSrv', 'jquery.flot', 'jquery.flot.events', 'jquery.flot.selection', diff --git a/src/test/specs/graph-panel-controller-specs.js b/src/test/specs/graph-panel-controller-specs.js index 7ed90b3b877..3746898d2da 100644 --- a/src/test/specs/graph-panel-controller-specs.js +++ b/src/test/specs/graph-panel-controller-specs.js @@ -1,5 +1,5 @@ /*define([ - //'services/all' + 'panels/graphite/module' ], function() { 'use strict'; @@ -26,5 +26,6 @@ }); }); }); + }); */ \ No newline at end of file diff --git a/src/test/test-main.js b/src/test/test-main.js index eabb33d6597..aa95771d950 100644 --- a/src/test/test-main.js +++ b/src/test/test-main.js @@ -26,9 +26,10 @@ require.config({ crypto: '../vendor/crypto.min', spectrum: '../vendor/spectrum', - jquery: '../vendor/jquery/jquery-1.8.0', + jquery: '../vendor/jquery/jquery-1.8.0', - bootstrap: '../vendor/bootstrap/bootstrap', + bootstrap: '../vendor/bootstrap/bootstrap', + 'bootstrap-tagsinput': '../vendor/tagsinput/bootstrap-tagsinput', 'jquery-ui': '../vendor/jquery/jquery-ui-1.10.3', @@ -94,6 +95,9 @@ require.config({ 'bindonce': ['angular'], 'angular-strap': ['angular', 'bootstrap','timepicker', 'datepicker'], + 'bootstrap-tagsinput': ['jquery'], + + timepicker: ['jquery', 'bootstrap'], datepicker: ['jquery', 'bootstrap'], @@ -118,13 +122,15 @@ require([ angular.module('kibana', []); angular.module('kibana.services', ['$strap.directives']); + angular.module('kibana.panels', []); + angular.module('kibana.filters', []); require([ 'specs/lexer-specs', 'specs/parser-specs', 'specs/gfunc-specs', 'specs/filterSrv-specs', - 'specs/kbn-format-specs' + 'specs/kbn-format-specs', ], function () { window.__karma__.start(); });