fix test 5
This commit is contained in:
parent
850c4c6f70
commit
6fa50f1dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -1093,8 +1093,8 @@ describe('Wallet model', function() {
|
||||||
it('should throw if network is different', function() {
|
it('should throw if network is different', function() {
|
||||||
var backup = copayConfig.forceNetwork;
|
var backup = copayConfig.forceNetwork;
|
||||||
copayConfig.forceNetwork = true;
|
copayConfig.forceNetwork = true;
|
||||||
config.networkName = 'testnet';
|
config.networkName = 'livenet';
|
||||||
cachedCreateW2.should.throw(Error);
|
createW2.should.throw(Error);
|
||||||
copayConfig.forceNetwork = backup;
|
copayConfig.forceNetwork = backup;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue