From 46a32045d76763f6ff3841e2f39fa0ba244eb858 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 2 Mar 2017 10:11:23 +0100 Subject: 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 --- tests/karma.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/karma.config.js b/tests/karma.config.js index e9aa38dd66f..91052f62cd2 100644 --- a/tests/karma.config.js +++ b/tests/karma.config.js @@ -158,9 +158,6 @@ module.exports = function(config) { testCore = true; } - // extra test libs - files.push(corePath + 'tests/lib/sinon-1.15.4.js'); - // core mocks files.push(corePath + 'tests/specHelper.js'); @@ -237,7 +234,7 @@ module.exports = function(config) { basePath: '..', // frameworks to use - frameworks: ['jasmine'], + frameworks: ['jasmine', 'jasmine-sinon'], // list of files / patterns to load in the browser files: files, -- cgit v1.2.3