diff options
author | brantje <brantje@gmail.com> | 2016-10-17 12:28:48 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-17 19:43:33 +0300 |
commit | e84da75f05d4b8e7d1da1d7bb40b5a15de1c5e71 (patch) | |
tree | fbde6074ea4d509ceee9aef050da4eb8df891059 /Gruntfile.js | |
parent | 02ef0187efd8fe7d37e0a49f33cd1a98c72cd43d (diff) |
Add required files for karma
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index f394e4da..ffec2205 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -78,6 +78,13 @@ module.exports = function (grunt) { } }, + karma: { + unit: { + configFile: './karma.conf.js', + background: false + } + }, + //@TODO JSHint watch: { scripts: { @@ -107,6 +114,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-html2js'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-karma'); // Default task(s). grunt.registerTask('default', ['html2js', 'sass']); grunt.registerTask('hint', ['jshint']); |