diff options
author | brantje <brantje@gmail.com> | 2017-05-13 22:50:15 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2017-05-13 22:50:48 +0300 |
commit | d293f832274d289239b4b4ad9f66ac905d201579 (patch) | |
tree | 4bf7b6e5afe80b56b502858f8d316586d3ac1feb /Gruntfile.js | |
parent | 1f3aec7c23d909bb4baca6d05497981f922f4e66 (diff) |
Add js tests
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index ff188f0..c0897a7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -71,6 +71,12 @@ module.exports = function (grunt) { dest: 'dist/' } }, + karma: { + unit: { + configFile: './karma.conf.js', + background: false + } + }, compress: { dist: { options: { @@ -97,6 +103,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-execute'); + grunt.loadNpmTasks('grunt-karma'); // Default task(s). grunt.registerTask('hint', ['jshint']); |