Skip to content

Commit

Permalink
fix(test): fix unit tests for SessionService
Browse files Browse the repository at this point in the history
This commit fixes the unit tests for SessionService by injecting
`$translate`'s module into Karma's namespace.
  • Loading branch information
jniles committed May 5, 2016
1 parent 8bc5ffd commit 830ad3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/test/unit/services/SessionService.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe('SessionService', function () {

// load bhima.services
beforeEach(() => {
module('pascalprecht.translate');
module('ngStorage');
module('bhima.services');
});
Expand Down

0 comments on commit 830ad3d

Please sign in to comment.