Closed
Description
This came up in #118. We've found it easier to work with tests that use the assertion library's comparison functions, rather than the comparison functions like hasClass
, hasProp
, etc.
I'd like to propose adding helpers that are more like html()
and text()
that simply return a consumable form of the element feature requested. IE, classes()
would return an array of class names on the element. I've got an implementation of classes
and can submit a PR for it and others that make sense, but wanted to see if it made sense before going further.