Update JS unit test libs

Update sinon to 1.15.4.
Update karma-jasmine to 0.3.0
Update jasmine to 2.3.4

This brings a bunch of new useful functions for unit testing.
This commit is contained in:
Vincent Petry 2015-07-10 11:14:35 +02:00
parent 176dabd976
commit 9d71542ee4
4 changed files with 5971 additions and 4311 deletions

View file

@ -1,22 +1,23 @@
{ {
"name": "owncloud-js-tests", "name": "owncloud-js-tests",
"description": "ownCloud tests", "description": "ownCloud tests",
"version": "0.0.1", "version": "0.0.1",
"author": { "author": {
"name": "Vincent Petry", "name": "Vincent Petry",
"email": "pvince81@owncloud.com" "email": "pvince81@owncloud.com"
}, },
"private": true, "private": true,
"homepage": "https://github.com/owncloud/", "homepage": "https://github.com/owncloud/",
"contributors": [], "contributors": [],
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"karma": "~0.12.0", "karma": "~0.12.0",
"karma-jasmine": "~0.2.0", "karma-jasmine": "~0.3.0",
"karma-junit-reporter": "*", "karma-junit-reporter": "*",
"karma-coverage": "*", "karma-coverage": "*",
"karma-phantomjs-launcher": "*", "karma-phantomjs-launcher": "*",
"phantomjs": "*" "phantomjs": "*",
}, "jasmine-core": "~2.3.4"
"engine": "node >= 0.8" },
"engine": "node >= 0.8"
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -121,7 +121,7 @@ module.exports = function(config) {
} }
// extra test libs // extra test libs
files.push(corePath + 'tests/lib/sinon-1.7.3.js'); files.push(corePath + 'tests/lib/sinon-1.15.4.js');
// core mocks // core mocks
files.push(corePath + 'tests/specHelper.js'); files.push(corePath + 'tests/specHelper.js');