Add required files for karma

This commit is contained in:
brantje
2016-10-17 11:28:48 +02:00
parent 02ef0187ef
commit e84da75f05
10 changed files with 200 additions and 7 deletions

View File

@ -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']);