Bug/select wallet incomplete / Refactor wallet Services (#4159)
* Addressbook: display error if select an incomplete wallet * Check if wallet is complete/needs_backup for Glidera and Coinbase * Ref/create a walletService * Ref. walletService * Fix Glidera and Coinbase * Removes txService * Fix glidera connection for mobile. Fix bitcode for xcode * Fix duplicated entry * Revert "Bump bwc version 2.3.1" * adds karma-mocha * Refactor * Refactor lock function * Refactor reject, remove and broadcast tx * add walletService tests WIP * add walletService tests WIP 2 * merge * update tests to mocha * fix tests. Angular 1.5? * Fix test * Generate angular-bwc before testing * Rever gitignore * Wording
This commit is contained in:
parent
aee30ec151
commit
98471e952a
27 changed files with 698 additions and 628 deletions
25
test/walletService.test.js
Normal file
25
test/walletService.test.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
describe('walletService', function() {
|
||||
|
||||
var walletService;
|
||||
|
||||
|
||||
// Adds walletService's module dependencies
|
||||
beforeEach(function() {
|
||||
module('ngLodash');
|
||||
module('gettext');
|
||||
module('bwcModule');
|
||||
module('copayApp.services');
|
||||
});
|
||||
|
||||
|
||||
beforeEach(inject(function(_walletService_) {
|
||||
walletService = _walletService_;
|
||||
}));
|
||||
|
||||
describe('walletService', function() {
|
||||
it('should be defined', function() {
|
||||
should.exist(walletService);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue