From 1917e5748c3a66fb7a2e71ac6e41bd20f83a5cf9 Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Fri, 17 Oct 2014 16:10:37 +0300 Subject: [PATCH] feat(*): add coverage --- .gitignore | 1 + Gruntfile.js | 7 +------ package.json | 13 +++++++------ 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a048522..e12ec27 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ bower_components npm-debug.log *.swp .idea +coverage diff --git a/Gruntfile.js b/Gruntfile.js index 772c4a5..5ec10eb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,12 +46,7 @@ module.exports = function(grunt) { karma: { options: { autowatch: true, - browsers: [ - 'PhantomJS' - ], - configFile: 'test/karma.conf.js', - reporters: ['dots'], - singleRun: true + configFile: 'test/karma.conf.js' }, unit: {} }, diff --git a/package.json b/package.json index 0ef6601..53c0c29 100644 --- a/package.json +++ b/package.json @@ -22,15 +22,16 @@ "url": "https://github.com/grevory/angular-local-storage/issues" }, "devDependencies": { - "time-grunt": "~0.2.9", - "load-grunt-tasks": "~0.3.0", - "grunt-contrib-jshint": "~0.8.0", "grunt": "~0.4.2", "grunt-cli": "~0.1.9", - "grunt-contrib-uglify": "*", "grunt-contrib-concat": "*", - "karma": "~0.10", + "grunt-contrib-jshint": "~0.8.0", + "grunt-contrib-uglify": "*", "grunt-karma": "~0.6.2", - "karma-jasmine": "*" + "karma": "~0.10", + "karma-coverage": "^0.2.6", + "karma-jasmine": "*", + "load-grunt-tasks": "~0.3.0", + "time-grunt": "~0.2.9" } }