wait for db flush to complete to carry on with other test suites

fixes the problem where tests would sometimes fail due to timing issues
This commit is contained in:
barisusakli
2016-08-12 13:49:41 +03:00
parent 4ca53703e3
commit a13bc64f40
10 changed files with 20 additions and 20 deletions

View File

@@ -229,7 +229,7 @@ describe('Set methods', function() {
});
after(function() {
db.flushdb();
after(function(done) {
db.flushdb(done);
});
});