github chaijs/chai 2.2.0
2.2.0 / 2015-03-26

latest releases: v5.1.0, v5.0.3, v5.0.2...
9 years ago

Deep property strings can now be escaped using \\ - for example:

var deepCss = { '.link': { '[target]': 42 }};
expect(deepCss).to.have.deep.property('\\.link.\\[target\\]', 42)

Community Contributions

Code Features & Fixes

Documentation fixes

  • #405 Tweak documentation around
    deep property escaping.
    By @keithamus

Don't miss a new chai release

NewReleases is sending notifications on new releases.