Update karma, use sinon from npm
Update karma library and use sinon JS library provided by karma-jasmine-sinon instead of local file. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
e18d928d9b
commit
46a32045d7
|
@ -11,14 +11,19 @@
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"karma": "~1.3.0",
|
"bower": "~1.8.0",
|
||||||
"karma-jasmine": "~1.0.2",
|
"handlebars": "^4.0.5",
|
||||||
"karma-junit-reporter": "*",
|
"jasmine-core": "^2.5.2",
|
||||||
|
"jasmine-sinon": "^0.4.0",
|
||||||
|
"jsdoc": "~3.4.0",
|
||||||
|
"karma": "^1.5.0",
|
||||||
"karma-coverage": "*",
|
"karma-coverage": "*",
|
||||||
|
"karma-jasmine": "^1.1.0",
|
||||||
|
"karma-jasmine-sinon": "^1.0.4",
|
||||||
|
"karma-junit-reporter": "*",
|
||||||
"karma-phantomjs-launcher": "*",
|
"karma-phantomjs-launcher": "*",
|
||||||
"phantomjs-prebuilt": "*",
|
"phantomjs-prebuilt": "*",
|
||||||
"jasmine-core": "~2.5.2",
|
|
||||||
"node-sass": "~4.1.1"
|
"node-sass": "~4.1.1"
|
||||||
},
|
},
|
||||||
"engine": "node >= 0.8"
|
"engine": "node >= 6.9"
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -158,9 +158,6 @@ module.exports = function(config) {
|
||||||
testCore = true;
|
testCore = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// extra test libs
|
|
||||||
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');
|
||||||
|
|
||||||
|
@ -237,7 +234,7 @@ module.exports = function(config) {
|
||||||
basePath: '..',
|
basePath: '..',
|
||||||
|
|
||||||
// frameworks to use
|
// frameworks to use
|
||||||
frameworks: ['jasmine'],
|
frameworks: ['jasmine', 'jasmine-sinon'],
|
||||||
|
|
||||||
// list of files / patterns to load in the browser
|
// list of files / patterns to load in the browser
|
||||||
files: files,
|
files: files,
|
||||||
|
|
Loading…
Reference in New Issue