reduce the chance of a test failure
This commit is contained in:
parent
96cbf8ad7b
commit
db59a1bd36
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue