ソースを参照

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
bergquist 9 年 前
コミット
76f78c0f72
1 ファイル変更20 行追加0 行削除
  1. 20 0
      public/app/features/alerting/specs/alert_tab_specs.ts

+ 20 - 0
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);
+    });
+  });
+});
+
+