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

Requesting "does" as a no-op assertion #700

Closed
ddevault opened this issue May 6, 2016 · 3 comments
Closed

Requesting "does" as a no-op assertion #700

ddevault opened this issue May 6, 2016 · 3 comments

Comments

@ddevault
Copy link

ddevault commented May 6, 2016

expect(foobar).to.have.property("baz").which.does.not.have.property("thing");
@meeber
Copy link
Contributor

meeber commented May 6, 2016

Sounds reasonable to me.

@lucasfcosta
Copy link
Member

Sounds good to me too, I've thought about this myself when analyzing other issues, I think this one is totally valid.

vieiralucas added a commit to vieiralucas/chai that referenced this issue May 6, 2016
vieiralucas added a commit to vieiralucas/chai that referenced this issue May 7, 2016
vieiralucas added a commit to vieiralucas/chai that referenced this issue May 7, 2016
vieiralucas added a commit to vieiralucas/chai that referenced this issue May 7, 2016
lucasfcosta added a commit that referenced this issue May 7, 2016
Add .does as a no-op assertion, Fix #700
@ddevault
Copy link
Author

ddevault commented May 8, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants