Upgrade Sinon.JS to 1.17.3
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 12 Mar 2016 00:59:30 +0000 (00:59 +0000)
committerGilles <gdubuc@wikimedia.org>
Wed, 16 Mar 2016 17:43:43 +0000 (17:43 +0000)
commit01ecc3ce5b6ab71ba7267c571cac309a333dd801
tree5d957354cb2aa07ac427e049f3df6832cb7edb66
parent327f0a9f6f1d6a80ae5b3c741340efb172b75432
Upgrade Sinon.JS to 1.17.3

No major changes for us other than a bugfix that makes the
following work as expected:

  var clock = this.sandbox.useFakeTimers();
  setTimeout(function () {
   clock.tick(10);
  });
  click.tick(1);
  // Expected: 11ms is recorded
  // Actual: 1ms is record

This was broken up until Sinon 1.16.0 (Lolex 1.3.0) because it saved the
"clock.now" value before running any pending timeout callbacks. Then it
unconditionally assigned the "clock.now" value to 'oldNow + ticked', which
discarded ticks made by a callback.

Change-Id: I2775f4c6353aef12ced6dc45e73fe8d4e49c2b68
resources/lib/sinonjs/sinon-1.15.4.js [deleted file]
resources/lib/sinonjs/sinon-1.17.3.js [new file with mode: 0644]
resources/lib/sinonjs/sinon-ie-1.15.4.js [deleted file]
tests/qunit/QUnitTestResources.php