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