fix conflics
This commit is contained in:
parent
e88dc7afb3
commit
46fa0e518c
4 changed files with 7 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ FakeStorage.prototype.clear = function() {
|
|||
delete this['storage'];
|
||||
}
|
||||
|
||||
FakeStorage.prototype.getWalletIds = function() {
|
||||
FakeStorage.prototype.getWallets = function() {
|
||||
return [];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -110,10 +110,10 @@ describe('API', function() {
|
|||
});
|
||||
});
|
||||
|
||||
describe('#getWalletIds', function() {
|
||||
describe('#getWallets', function() {
|
||||
it('should get the wallet ids', function(done) {
|
||||
var api = new API({Storage: Storage});
|
||||
api.getWalletIds(function(err, result) {
|
||||
api.getWallets(function(err, result) {
|
||||
result.length.should.be.greaterThan(-1);
|
||||
done();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ var should = chai.should();
|
|||
var copay = copay || require('../copay');
|
||||
var Wallet = require('../js/models/core/Wallet');
|
||||
var Storage= require('./mocks/FakeStorage');
|
||||
var Network= copay.WebRTC;
|
||||
var Network= require('./mocks/FakeNetwork');
|
||||
var Blockchain= copay.Insight;
|
||||
|
||||
var addCopayers = function (w) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue