Skip to content

AssertionError: expected { Object (_bitField, _fulfillmentHandler0, ...) } to have a property 'length' #43

@ashishagarwal1686

Description

@ashishagarwal1686

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions