2.8.0

@domenic domenic released this Jun 7, 2015 · 4 commits to master since this release

Dual-licensed under the WTFPL and the BSD-2-Clause licenses (#63, @nevir).

Added support for Chai 3.x (#66, @gingermusketeer).

Downloads

2.7.0

@domenic domenic released this Feb 14, 2015 · 9 commits to master since this release

Added support for Chai 2.x.

Downloads

2.6.0

@domenic domenic released this Oct 5, 2014 · 14 commits to master since this release

Upgraded to use Chai's new lazy-messages feature (as of Chai 1.9.2), which speeds up all asserters (since calculating the message can take some time) and avoids triggering any getters (e.g. those installed to create deprecation warnings). For examples of each of these problems, both of which are now fixed, see respectively #30 and #38.

This means the minimum version of Chai now required alongside Sinon–Chai is 1.9.2; the peer dependency requirement has been updated accordingly.

Downloads

2.5.0

@domenic domenic released this Jan 25, 2014 · 21 commits to master since this release

Added callCount asserter, as in:

spy.should.have.callCount(6);

Thanks @tinganho for this addition.

Downloads

2.4.0

@domenic domenic released this Apr 20, 2013 · 32 commits to master since this release

  • Made Sinon a peer dependency, not a dependency, so that you don't install an extra copy of Sinon underneath Sinon–Chai.
  • Made Chai a peer dependency, to enforce correct plugin version ranges.

Downloads

2.3.1

@domenic domenic released this Jan 9, 2013 · 38 commits to master since this release

Fixed an issue when spied-upon objects have proxy properties that are not themselves spies (#19, @mikelovesrobots).

Downloads

2.3.0

@domenic domenic released this Dec 16, 2012 · 41 commits to master since this release

Added the calledWithMatch asserter. Thanks to @obmarg for this addition.

Downloads