Skip to content

Commit 1917e57

Browse files
committed
feat(*): add coverage
1 parent 2d4b402 commit 1917e57

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ bower_components
55
npm-debug.log
66
*.swp
77
.idea
8+
coverage

Gruntfile.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,7 @@ module.exports = function(grunt) {
4646
karma: {
4747
options: {
4848
autowatch: true,
49-
browsers: [
50-
'PhantomJS'
51-
],
52-
configFile: 'test/karma.conf.js',
53-
reporters: ['dots'],
54-
singleRun: true
49+
configFile: 'test/karma.conf.js'
5550
},
5651
unit: {}
5752
},

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@
2222
"url": "https://github.com/grevory/angular-local-storage/issues"
2323
},
2424
"devDependencies": {
25-
"time-grunt": "~0.2.9",
26-
"load-grunt-tasks": "~0.3.0",
27-
"grunt-contrib-jshint": "~0.8.0",
2825
"grunt": "~0.4.2",
2926
"grunt-cli": "~0.1.9",
30-
"grunt-contrib-uglify": "*",
3127
"grunt-contrib-concat": "*",
32-
"karma": "~0.10",
28+
"grunt-contrib-jshint": "~0.8.0",
29+
"grunt-contrib-uglify": "*",
3330
"grunt-karma": "~0.6.2",
34-
"karma-jasmine": "*"
31+
"karma": "~0.10",
32+
"karma-coverage": "^0.2.6",
33+
"karma-jasmine": "*",
34+
"load-grunt-tasks": "~0.3.0",
35+
"time-grunt": "~0.2.9"
3536
}
3637
}

0 commit comments

Comments
 (0)