mirror of https://github.com/BTCPrivate/copay.git
reduce the chance of a test failure
This commit is contained in:
parent
96cbf8ad7b
commit
db59a1bd36
|
@ -331,7 +331,6 @@ describe('Wallet model', function() {
|
||||||
var w = cachedCreateW2();
|
var w = cachedCreateW2();
|
||||||
var spy = sinon.spy(w, 'scheduleConnect');
|
var spy = sinon.spy(w, 'scheduleConnect');
|
||||||
var callCount = 3;
|
var callCount = 3;
|
||||||
w.reconnectDelay = 25;
|
|
||||||
w.netStart();
|
w.netStart();
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
sinon.assert.callCount(spy, callCount);
|
sinon.assert.callCount(spy, callCount);
|
||||||
|
|
Loading…
Reference in New Issue