Skip to content

Commit c8b1bd4

Browse files
committed
Add Karma for testing
1 parent 6b9c94c commit c8b1bd4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gruntfile.js

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ module.exports = function(grunt) {
77
// Time the grunt tasks
88
require('time-grunt')(grunt);
99

10-
// We need Karma
11-
grunt.loadNpmTasks('grunt-karma');
12-
1310
grunt.initConfig({
1411
karma: {
1512
options: {

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"load-grunt-tasks": "~0.3.0",
3030
"grunt-contrib-jshint": "~0.8.0",
3131
"grunt": "~0.4.2",
32-
"grunt-contrib-uglify": "~0.3.2"
32+
"grunt-contrib-uglify": "~0.3.2",
33+
"karma": "~0.8",
34+
"grunt-karma": "~0.6.2",
35+
"karma-jasmine": "*"
3336
}
3437
}

0 commit comments

Comments
 (0)