- expose should to exports, to do not require Object.prototype only
- fixed usage of valueOf only for standard wrappers
- updated eql.js to current version from assert.js
- fixed object comparison in eql.js [dirtyrottenscoundrel]
- added tests and docs for
#approximately(value, delta, description)
- added
#beginWith(prefix, description)
[fredr] - added
#endWith(suffix, description)
- fix should.be.instanceOf() failure on Date
- add .showDiff
- Make instanceOf and throwError be aliased like others [alFReD-NSH]
- Fix should[.not].exist not having stack trace #84 [alFReD-NSH]
- Added #approximately(value, delta, description) for doing assertions on results of operations with numbers. [titarenko]
- add .type for eql()s assert
- add enclosing of failure message functions. Closes #81
- add mocha .actual / .expected string support for all assertion values
- add
.throw(Constructor)
support [snakamura]
- Added object inclusion support back
- Added homepage to package.json
- Fixed .equal() with dates. Closes #63
- package: add "repository" section [TooTallNate]
- use valueOf() to get the reference the object [TooTallNate]
- Added
err.actual
anderr.expected
for .{eql,equal}() - Added 'return this;' to 'get json' and 'get html' in order to provide chaining for should.be.json and should.be.html
- Added better
.json
- Added better
.html
- Added string matching to
.throw()
[serby] - Added regexp matching to
.throw()
[serby] - Added
.includeEql()
[RubenVerborgh] - Added
.should.be.html
- Added
.should.be.json
- Added optional description args to most matchers [Mike Swift]
- Fixed .header() for realzzz
- Fixed: chain .header() to retain negation
- Added
.should.throw()
- Added
.include()
support for strings - Added
.include()
support for arrays - Removed
keys()
.include
modifier support - Removed
.object()
- Removed
.string()
- Removed
.contain()
- Removed
.respondTo()
rubyism - expresso -> mocha
- Fixed tests for 0.5.x
- Fixed sys warning
- configurable
- Added assertion for inclusion of an object:
foo.should.include.object({ foo: 'bar' })
- Fixed .status(code). Closes #18
- Added
res.should.have.status(code)
method - Added
res.should.have.header(field, val)
method
- Added
should.exist(obj)
[aseemk] - Added
should.not.exist(obj)
[aseemk]
- Added
.ok
to assert truthfulness - Added
.arguments
- Fixed double required bug. [thanks dominictarr]
- Added
true
/false
assertions
- Added chaining support
- Initial release