qunit: Disable sinonjs-ie as it breaks the clock sandbox
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Mar 2014 02:33:59 +0000 (03:33 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 11 Mar 2014 22:35:18 +0000 (22:35 +0000)
commit6656612660b71177a3085eaeded236c96b5491e6
treecd2bb195d5225e2e86565c87ffe61c174267fdb8
parente2357847289914b1f8c320a2b61a1612881b2b02
qunit: Disable sinonjs-ie as it breaks the clock sandbox

The ie fixes file assumes running in the global scope. Since it
runs locally in our environment, it ends up destroying its
references to e.g. the Date object.

Then when calling sandbox.useFakeTimers, the Date constructor
will yield an object with no methods and tests will fail at a
random point when e.g. trying to access date.getTime().

* Remove 'clock' from the sinon properties we inject into the
  test context. We use the sandbox instead (just like for server).

  This also fixes a shadow clash with the tests that stored the
  clock instance in `this.clock`.

Change-Id: I6085bccf5038e4751da48ee765fe81560f58c6e8
tests/qunit/QUnitTestResources.php
tests/qunit/data/testrunner.js