mirror of https://github.com/BTCPrivate/copay.git
Wallet model and testing
This commit is contained in:
parent
af883c30ec
commit
423fe5284b
|
@ -54,25 +54,25 @@ describe('Wallet model', function() {
|
|||
var w = new Wallet();
|
||||
should.exist(w);
|
||||
});
|
||||
/*it('should return array of unspent output', function(done) {
|
||||
it('should return array of unspent output', function(done) {
|
||||
var w = new Wallet();
|
||||
w.listUnspent(addresses, function(a) {
|
||||
should.exist(a);
|
||||
done();
|
||||
});
|
||||
});*/
|
||||
});
|
||||
it('should return balance', function () {
|
||||
var w = new Wallet();
|
||||
var b = w.getBalance(unspent);
|
||||
should.exist(b);
|
||||
b.should.equal(91);
|
||||
});
|
||||
/*it('should return txid', function (done) {
|
||||
it('should return txid', function (done) {
|
||||
var w = new Wallet();
|
||||
w.sendRawTransaction(rawtx, function(a) {
|
||||
should.exist(a);
|
||||
done();
|
||||
});
|
||||
});*/
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue