fix p2p connecting
This commit is contained in:
parent
ae8f50793f
commit
ba8a0e83d2
6 changed files with 46 additions and 15 deletions
|
|
@ -39,6 +39,12 @@ describe('WalletFactory model', function() {
|
|||
var wf = new WalletFactory(config);
|
||||
should.exist(wf);
|
||||
});
|
||||
it('#_checkRead should return fail', function() {
|
||||
var wf = new WalletFactory(config);
|
||||
wf._checkRead('dummy').should.equal(false);
|
||||
wf.read('dummy').should.equal(false);
|
||||
});
|
||||
|
||||
it('should be able to create wallets', function() {
|
||||
var wf = new WalletFactory(config);
|
||||
var w = wf.create();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue