File tree 1 file changed +42
-0
lines changed
test/unit/growlNotifications
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ describe ( 'growlNotifications' , function ( ) {
4
+
5
+ var module ;
6
+ var dependencies ;
7
+ dependencies = [ ] ;
8
+
9
+ var hasModule = function ( module ) {
10
+ return dependencies . indexOf ( module ) >= 0 ;
11
+ } ;
12
+
13
+ beforeEach ( function ( ) {
14
+
15
+ // Get module
16
+ module = angular . module ( 'growlNotifications' ) ;
17
+ dependencies = module . requires ;
18
+ } ) ;
19
+
20
+ it ( 'should load config module' , function ( ) {
21
+ expect ( hasModule ( 'growlNotifications.config' ) ) . toBeTruthy ( ) ;
22
+ } ) ;
23
+
24
+
25
+ it ( 'should load filters module' , function ( ) {
26
+ expect ( hasModule ( 'growlNotifications.filters' ) ) . toBeTruthy ( ) ;
27
+ } ) ;
28
+
29
+
30
+
31
+ it ( 'should load directives module' , function ( ) {
32
+ expect ( hasModule ( 'growlNotifications.directives' ) ) . toBeTruthy ( ) ;
33
+ } ) ;
34
+
35
+
36
+
37
+ it ( 'should load services module' , function ( ) {
38
+ expect ( hasModule ( 'growlNotifications.services' ) ) . toBeTruthy ( ) ;
39
+ } ) ;
40
+
41
+
42
+ } ) ;
You can’t perform that action at this time.
0 commit comments