Skip to content

Throw really specific error when attempting to use chai-jQuery assertions on a non DOM object #604

@brian-mann

Description

@brian-mann

Currently these fall through and we get an odd error message.

expect("foo").to.have.class("bar")

screen shot 2017-08-25 at 9 09 52 pm

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions