Fixes: tests. Added karma and mocha tests.
This commit is contained in:
parent
801e746d11
commit
8ad1fa7b02
7 changed files with 40 additions and 9 deletions
|
|
@ -21,10 +21,7 @@ angular.module('copayApp.services')
|
|||
}
|
||||
};
|
||||
|
||||
root.logout = function() {
|
||||
if (!$rootScope.wallet.isLocked) {
|
||||
$rootScope.wallet.closeIfOpen();
|
||||
}
|
||||
root.logout = function() {
|
||||
Socket.removeAllListeners();
|
||||
|
||||
$rootScope.wallet = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue