mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 14:27:05 +02:00
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:
@@ -229,7 +229,7 @@ describe('Set methods', function() {
|
||||
});
|
||||
|
||||
|
||||
after(function() {
|
||||
db.flushdb();
|
||||
after(function(done) {
|
||||
db.flushdb(done);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user