| 1234567891011121314151617181920212223242526 |
- define([
- 'angular',
- 'angularMocks',
- 'panels/graphite/module'
- ], function(angular) {
- /* describe('controller', function() {
- var scope, metricCtrl;
- beforeEach(function() {
- angular.mock.inject(function($rootScope, $controller) {
- scope = $rootScope.$new();
- metricCtrl = $controller('kibana.panels.graphite.graphite', {
- $scope: scope
- });
- });
- });
- it('should work', function() {
- metricCtrl.toggleYAxis({alias:'myAlias'});
- scope.panel.aliasYAxis['myAlias'].should.be(2);
- });
- });*/
- });
|