Skip to content

Commit 76f78c0

Browse files
committed
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
1 parent 62d18cd commit 76f78c0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import {describe, beforeEach, it, sinon, expect, angularMocks} from 'test/lib/common';
2+
3+
import {AlertTabCtrl} from '../alert_tab_ctrl';
4+
import helpers from '../../../../test/specs/helpers';
5+
6+
describe('AlertTabCtrl', () => {
7+
var $scope = {
8+
ctrl: {}
9+
};
10+
11+
describe('with null parameters', () => {
12+
it('can be created', () => {
13+
var alertTab = new AlertTabCtrl($scope, null, null, null, null, null, null, null);
14+
15+
expect(alertTab).to.not.be(null);
16+
});
17+
});
18+
});
19+
20+

0 commit comments

Comments
 (0)