From 1b4fd8d451f102de4e540a0dd174eccf56856430 Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Tue, 4 Nov 2014 22:48:47 +0200 Subject: [PATCH] fix(karma): add phantomjs lancher and more --- package.json | 7 ++++--- test/karma.conf.js | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dbc634d..4f829a1 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,11 @@ "grunt-contrib-concat": "*", "grunt-contrib-jshint": "~0.8.0", "grunt-contrib-uglify": "*", - "grunt-karma": "~0.6.2", - "karma": "~0.10", + "grunt-karma": "latest", + "karma": "~0.12.16", + "karma-jasmine": "~0.1.5", "karma-coverage": "^0.2.6", - "karma-jasmine": "*", + "karma-phantomjs-launcher": "~0.1.4", "load-grunt-tasks": "~0.3.0", "time-grunt": "~0.2.9" } diff --git a/test/karma.conf.js b/test/karma.conf.js index 7a6492e..f8db1fb 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -36,6 +36,13 @@ module.exports = function(config) { // testing framework to use (jasmine/mocha/qunit/...) frameworks: ['jasmine'], + // Which plugins to enable + plugins: [ + 'karma-phantomjs-launcher', + 'karma-jasmine', + 'karma-coverage' + ], + // level of logging // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG logLevel: config.LOG_INFO,