Karma test tweaks

* Make sure we only get one js-sdk (and update runtime config to match)
* Don't verifyNoOutstandingRequests (since it is hard to be certain which we
  will get, and makes the tests too dependent on implementation-specifics).
* Disable color for npm test, to avoid confusing Jenkins
This commit is contained in:
Richard van der Hoff 2016-04-13 17:41:23 +01:00
parent 181a6a61ff
commit bf31d6d5fa
4 changed files with 7 additions and 5 deletions

View file

@ -120,6 +120,9 @@ module.exports = function (config) {
// alias any requires to the react module to the one in our path, otherwise
// we tend to get the react source included twice when using npm link.
react: path.resolve('./node_modules/react'),
// same goes for js-sdk
"matrix-js-sdk": path.resolve('./node_modules/matrix-js-sdk'),
sinon: 'sinon/pkg/sinon.js',
},