mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-09 22:19:29 -05:00
31 lines
689 B
JavaScript
31 lines
689 B
JavaScript
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;
|
|
}));
|
|
|
|
|
|
});
|