Steps to reproduce:
- set up MediaWiki via Vagrant, with the mobilefrontend role
- visit Special:JavaScriptTest in Chrome
All of the MobileFrontend tests are broken:
- MobileFrontend NearbyGateway.js: _distanceMessage() tests mostly fail on expectation about what the gateway returns (presumably there is some request/response mocking that's not working as expected)
- lots of t.stub(...).callsFake is not a function (different version of sinon.js being used?)
- lots of Cannot read property 'then' of undefined
- lots of TypeError: t is not a constructor
- lots of TypeError: Cannot read property 'prototype' of undefined
- a bunch of othe TypeError: Cannot read property 'XXX' of undefined
- a couple more assertion failures