Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shouldHave error when asserting prop type attributes #64

Open
dereke opened this issue Mar 17, 2017 · 0 comments
Open

shouldHave error when asserting prop type attributes #64

dereke opened this issue Mar 17, 2017 · 0 comments
Labels

Comments

@dereke
Copy link
Member

dereke commented Mar 17, 2017

When doing something like this:

monkey.find('script').shouldHave({
  attributes: {async: true}
})

against this:

<script async></script>

The test fails. I think this is because some attributes are actually properties.
So I wonder for these if we should have something like:

monkey.find('script').shouldHave({
  properties: ['async']
})
@dereke dereke changed the title shouldHave error when asserting prop type attributs shouldHave error when asserting prop type attributes Mar 17, 2017
@dereke dereke added the bug label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant