mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
search tests
new method emptydb use emptydb instead of flushdb, flushdb removes indices for mongo which breaks search tests initialize meta.config properly in tests enable nodebb-plugin-dbsearch for tests
This commit is contained in:
@@ -102,7 +102,7 @@ describe('socket.io', function () {
|
||||
});
|
||||
|
||||
after(function (done) {
|
||||
done();
|
||||
db.emptydb(done);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user