Hopefully your db.collection() should return a promise. If yes then you can also use async keyword in before()
// Note: I am using Mocha 5.2.0.
before(async function(){
await db.collection('user').remove({}, function(res){}); // it is now guaranteed to finish before it()
});