mirror of https://github.com/BTCPrivate/copay.git
fix karma tests
This commit is contained in:
parent
2bf89d234e
commit
86633cd5b4
|
@ -24,7 +24,6 @@ var copayApp = window.copayApp = angular.module('copayApp',[
|
|||
'angularMoment',
|
||||
'mm.foundation',
|
||||
'monospaced.qrcode',
|
||||
'notifications',
|
||||
'copayApp.filters',
|
||||
'copayApp.services',
|
||||
'copayApp.controllers',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('notifications', []).
|
||||
angular.module('copayApp.services').
|
||||
factory('$notification', ['$timeout',function($timeout){
|
||||
|
||||
var notifications = JSON.parse(localStorage.getItem('$notifications')) || [],
|
||||
|
|
|
@ -13,7 +13,6 @@ describe("Unit: Controllers", function() {
|
|||
|
||||
var scope;
|
||||
|
||||
beforeEach(module('notifications'));
|
||||
beforeEach(module('copayApp.services'));
|
||||
beforeEach(module('copayApp.controllers'));
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ describe("Unit: Walletfactory Service", function() {
|
|||
|
||||
describe("Unit: controllerUtils", function() {
|
||||
beforeEach(angular.mock.module('copayApp.services'));
|
||||
beforeEach(angular.mock.module('notifications'));
|
||||
|
||||
it('should updateBalance in bits', inject(function(controllerUtils, $rootScope) {
|
||||
expect(controllerUtils.updateBalance).not.to.equal(null);
|
||||
|
|
Loading…
Reference in New Issue