fixed tests
This commit is contained in:
parent
a825929456
commit
a9416ce1cd
2 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,10 @@ var FakeStorage = function(){
|
|||
this.storage = {};
|
||||
};
|
||||
|
||||
FakeStorage.prototype._setPassphrase = function (password) {
|
||||
this.storage.passphrase = password;
|
||||
};
|
||||
|
||||
FakeStorage.prototype.setGlobal = function (id, payload) {
|
||||
this.storage[id] = payload;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ describe('WalletFactory model', function() {
|
|||
port: 80
|
||||
},
|
||||
networkName: 'testnet',
|
||||
passphrase: 'test',
|
||||
};
|
||||
|
||||
it('should create the factory', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue