feat(*): add coverage

master
Ariel Mashraki 10 years ago
parent 2d4b402739
commit 1917e5748c

1
.gitignore vendored

@ -5,3 +5,4 @@ bower_components
npm-debug.log npm-debug.log
*.swp *.swp
.idea .idea
coverage

@ -46,12 +46,7 @@ module.exports = function(grunt) {
karma: { karma: {
options: { options: {
autowatch: true, autowatch: true,
browsers: [ configFile: 'test/karma.conf.js'
'PhantomJS'
],
configFile: 'test/karma.conf.js',
reporters: ['dots'],
singleRun: true
}, },
unit: {} unit: {}
}, },

@ -22,15 +22,16 @@
"url": "https://github.com/grevory/angular-local-storage/issues" "url": "https://github.com/grevory/angular-local-storage/issues"
}, },
"devDependencies": { "devDependencies": {
"time-grunt": "~0.2.9",
"load-grunt-tasks": "~0.3.0",
"grunt-contrib-jshint": "~0.8.0",
"grunt": "~0.4.2", "grunt": "~0.4.2",
"grunt-cli": "~0.1.9", "grunt-cli": "~0.1.9",
"grunt-contrib-uglify": "*",
"grunt-contrib-concat": "*", "grunt-contrib-concat": "*",
"karma": "~0.10", "grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-uglify": "*",
"grunt-karma": "~0.6.2", "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"
} }
} }