diff options
Diffstat (limited to 'src/fauxton/Gruntfile.js')
-rw-r--r-- | src/fauxton/Gruntfile.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index b76ae24e8..6d5ce8835 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/Gruntfile.js @@ -238,8 +238,18 @@ module.exports = function(grunt) { // The headless Jasmine testing is provided by grunt-jasmine-task. Simply // point the configuration to your test directory. + // jasmine: { + // all: ["test/jasmine/*.html"] + //}, + jasmine: { - all: ["test/jasmine/*.html"] + fauxton: { + //src: 'app/**/*.js', + options: { + specs: 'test/jasmine/spec/*.js' + //helpers: 'spec/*Helper.js' + } + } }, // Copy build artifacts and library code into the distribution @@ -311,6 +321,8 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); // Load CSSMin task grunt.loadNpmTasks('grunt-contrib-cssmin'); + // Load Jasmine task + grunt.loadNpmTasks('grunt-contrib-jasmine'); /* * Default task |