test(alert_tab): basic test skeleton

I created this test by misstake. But instead of deleting it I thought it
might be good to keep it to make it easier to add tests for the alert
tab
pull/6872/merge
bergquist 9 years ago
parent 62d18cd493
commit 76f78c0f72
  1. 20
      public/app/features/alerting/specs/alert_tab_specs.ts

@ -0,0 +1,20 @@
import {describe, beforeEach, it, sinon, expect, angularMocks} from 'test/lib/common';
import {AlertTabCtrl} from '../alert_tab_ctrl';
import helpers from '../../../../test/specs/helpers';
describe('AlertTabCtrl', () => {
var $scope = {
ctrl: {}
};
describe('with null parameters', () => {
it('can be created', () => {
var alertTab = new AlertTabCtrl($scope, null, null, null, null, null, null, null);
expect(alertTab).to.not.be(null);
});
});
});
Loading…
Cancel
Save