Sinon Versions Save

Test spies, stubs and mocks for JavaScript.

v2.3.8

6 years ago

This release fixes #1474

v2.3.6

6 years ago

Fix #1274: spy.withArgs(args...).callCount is incorrect

v2.3.7

6 years ago
  • Fix #1476: spy.withArgs(args...).firstCall is broken

v2.3.5

6 years ago
  • Check configurable on a prop before creating (fixes #1456) (#1462)

v2.3.4

6 years ago
  • Fix #1372: make sandbox.resetHistory also reset spies (#1424)

v2.3.3

6 years ago
  • Fix #1450, make stubbing of static function properties possible

v2.3.2

6 years ago
  • Fix failing sandbox.resetBehavior() (#1428)
  • Fix restoring getters/setters/values for previously unexisting props (#1419)
  • Called in order takes callCount into account. Closes #1398.

v2.3.1

6 years ago
  • Make calledAfter symmetric with calledBefore (#1407)

v2.3.0

6 years ago
  • Allow stubbing of accessors with and without sandbox (#1416)
  • add throwsArg(index) to stubs (#1319)
  • Fix: forEach() requires 'this' argument (#1356)
  • Only reset history when calling resetHistory()

v2.0.0-pre.4

7 years ago

Changes in this release, compared to v2.0.0-pre.3

  • #1061 add configurable unsafe header checks
  • #1173 Expose readyState constants on XHR instances
  • #1175 Fire .onprogress event handler in fake XHR
  • #1176 Implement XHR.overrideMimeType
  • #1183 Use last defined withArgs match when multiple conditions are met

Full comparison