Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Improve toHaveAttr #256

Closed
wants to merge 5 commits into from
Closed

Improve toHaveAttr #256

wants to merge 5 commits into from

Conversation

willprice
Copy link

Improved the toHaveAttr method building on @jesperronn's work (in #187).

Relevant discussions:

Sorry about adding the bower_components to .gitignore in this pull req, it should really be separate.
If you've got a better way of testing failing matchers, or test cases that should be added please let me know. I'm quite uncomfortable not having tests!

@jesperronn
Copy link

Thanks for improving my initial work 👍

@willprice
Copy link
Author

.selector is a deprecated attribute above jquery 1.7 so it should really be replaced with something else, and it also doesn't work very reliably for me, any suggestions on how to remove it from toHaveAttr?

@willprice willprice closed this Apr 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants