summary refs log tree commit diff
path: root/syweb/webclient/test/unit/event-handler-service.spec.js
blob: 5eb6fe10ab8a0324e0acf6e57298a2709078cf37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
describe('EventHandlerService', function() {
    var scope;
    
    var modelService = {};

    // setup the service and mocked dependencies
    beforeEach(function() {
        // dependencies
        module('matrixService');
        module('notificationService');
        module('mPresence');
        
        // cleanup mocked methods
        modelService = {};
        
        // mocked dependencies
        module(function ($provide) {
          $provide.value('modelService', modelService);
        });
        
        // tested service
        module('eventHandlerService');
    });
    
    beforeEach(inject(function($rootScope) {
        scope = $rootScope;
    }));

    
});