Added setImmediate to the tests instead of the code since this seems to be where the issue is.

This commit is contained in:
Chris Kleeschulte 2015-09-02 10:45:44 -04:00
parent 0ac83098e9
commit ec720c2443

View File

@ -93,8 +93,8 @@ describe('Daemon Binding Functionality', function() {
// Generate enough blocks so that the initial coinbase transactions // Generate enough blocks so that the initial coinbase transactions
// can be spent. // can be spent.
setImmediate(function() {
client.generate(150, function(err, response) { client.generate(150, function(err, response) {
if (err) { if (err) {
throw err; throw err;
} }
@ -138,9 +138,8 @@ describe('Daemon Binding Functionality', function() {
}); });
}); });
}); });
}); });
});
}); });
}); });