You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ashishagarwal1686 Using .length as a method assertion is deprecated because of issues related to functions having a .length property that's immutable in older engines. Please try .lengthOf in its place.
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.
The text was updated successfully, but these errors were encountered: