I am getting assertion error. my code is like this : return expect(User.find({}).exec()).to .have.length(0); Don't know where the mistake is. Can anyone help me out with such problem.