Bug
Spits out error
CypressError: The chainer: 'descendants' was not found. Could not build assertion.
Add a spec with:
.should("have.descendants", ".some-selector")
.should("have.descendants", ".some-selector")
Hopefully this is enough information for you guys! Seems to be broken in version 0.20.0.
I believe this is due to a typo. The chainer is spelled 'descendents' with all vowels being 'e's. The error could definitely be more helpful though.
Ah! Thanks! By the way, the documentation currently states this, I guess this should also be updated there 馃槂

See -> https://docs.cypress.io/guides/references/assertions.html#Chai-jQuery
Before I forget: this used to work in version 0.19.x
We rewrote chai-jquery in 0.20.0 and during that time we misspelled the word. It works right now as descendents but we'll update this to the proper spelling and get it out in the next patch release.
Perhaps we could do a levenshtein check to do the "Did you mean '...' suggestion
The code for this is merged, but it has not been released yet.
Documentation typo fixed: https://github.com/cypress-io/cypress-documentation/pull/77
Fixed in 0.20.1.
Most helpful comment
We rewrote chai-jquery in 0.20.0 and during that time we misspelled the word. It works right now as
descendentsbut we'll update this to the proper spelling and get it out in the next patch release.Perhaps we could do a levenshtein check to do the "Did you mean '...' suggestion