Unverified Commit 65de9a7a by Kewde Committed by GitHub

add additional timeout to wait

parent 7e9f3dd9
var sqlite3 = require('..').verbose();
var sqlite3 = require('..');
var assert = require('assert');
describe('each', function() {
......@@ -16,10 +16,10 @@ describe('each', function() {
retrieved++;
});
db.wait(function() {
db.wait(setTimeout(function() {
assert.equal(retrieved, total, "Only retrieved " + retrieved + " out of " + total + " rows.");
done();
});
}, 400));
});
it('Statement#each with complete callback', function(done) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment