Skip to content

Releases: chaijs/sinon-chai

2.13.0

14 Aug 03:35
Compare
Choose a tag to compare

Added support for Sinon v3.x. (@daffl, #108)

2.12.0

18 Jul 02:07
Compare
Choose a tag to compare

Added colored diff formatting to calledWith and friends, like sinon.assert() got (in Sinon 2.0).

2.11.0

11 Jun 04:55
Compare
Choose a tag to compare

Added support for Chai 4.x (@charlierudolph, #101).

2.10.0

01 May 03:22
Compare
Choose a tag to compare

Added the calledImmediatelyBefore() and calledImmediatelyAfter() asserters.

2.9.0

21 Mar 10:38
Compare
Choose a tag to compare

Added support for Sinon ^2.1.0 (but not 2.0.0 due to sinonjs/sinon#1332).

2.8.0

07 Jun 23:52
Compare
Choose a tag to compare

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

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

2.7.0

14 Feb 23:38
Compare
Choose a tag to compare

Added support for Chai 2.x.

2.6.0

05 Oct 23:19
Compare
Choose a tag to compare

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.

2.5.0

25 Jan 23:15
Compare
Choose a tag to compare

Added callCount asserter, as in:

spy.should.have.callCount(6);

Thanks @tinganho for this addition.

2.4.0

25 Jan 23:17
Compare
Choose a tag to compare
  • 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.