be
is now only a property, not an assertion methodidentical
assertion to determine if both vars refers to the same object, i.e===
for all typesresemble
assertion to determine if both vars are loosely equal, or ==equal
is semantic (i.e. deep equal, but strict equal, or ===, for primitive), see alsoidentical
andresemble
- version synchronized
- fix bug infinite loop for cyclic structure, Automattic#50, 2f085fe
contain
assertion supports sub object, 4b45013approximate
assertion, 8594f4bbetween
alias, c478d4b- jshint'ed
- implement (shim) Object.defineProperty, so expect Assertion object can now be created lazily, improve performance by 10x while maintain backward compatibility to IE6+
- restructure everything to
utils
andexpect.core
, custom plugins can easily be implemented throughexpect.use
- fix isRegExp bug in some edge cases
- add closure to all assertion messages deferring costly inspects until there is actually a failure
- fix
make test
for recent mochas - add inspect() case for DOM elements
- relax failure msg null check
- add explicit failure through
expect().fail()
- clarified all
empty
functionality in README example - added docs for throwException fn/regexp signatures
- Added regexp matching support for exceptions.
- Added support for throwException callback.
- Added
throwError
synonym tothrowException
. - Added object support for
.empty
. - Fixed
.a('object')
with nulls, and english error in error message. - Fix bug
indexOf
(IE). [hokaccha] - Fixed object property checking with
undefined
as value. [vovik]
- Fixed typo
- Initial import