2.0.0 / 2015-02-09
Unfortunately with 1.10.0 - compatibility broke with older versions because of
the addChainableNoop
. This change has been reverted.
Any plugins using addChainableNoop
should cease to do so.
Any developers wishing for this behaviour can use dirty-chai
by @joshperry
Community Contributions
Code Features & Fixes
- #361
.keys()
now accepts Objects, extracting keys from them. By @gregglind - #359
.keys()
no longer mutates passed arrays. By @gregglind - #349 Add a new chainable keyword -
.which
. By @toastynerd - #333 Add
.change
,.increase
and.decrease
assertions. By @cmpolis - #335
chai.util
is now exposed @DingoEatingFuzz - #328 Add
.includes
and.contains
aliases (for.include
and.contain
). By @lo1tuma - #313 Add
.any.keys()
and.all.keys()
qualifiers. By @cjqed - #312 Add
assert.sameDeepMembers()
. By @cjqed - #311 Add
assert.isAbove()
andassert.isBelow()
. By @cjqed - #308
property
anddeep.property
now pass if a value is set toundefined
. By @prodatakey - #309 optimize deep equal in Arrays. By @ericdouglas
- #306 revert #297 - allowing lint-friendly tests. By @keithamus
Documentation fixes
- #357 Copyright year updated in docs. By @danilovaz
- #325 Fix documentation for overwriteChainableMethod. By @chasenlehara
- #334 Typo fix. By @hurrymaplelad
- #317 Typo fix. By @jasonkarns
- #318 Typo fix. By @jasonkarns
- #316 Typo fix. By @jasonkarns