diff --git a/Gruntfile.js b/Gruntfile.js index 80f3f04c..b703be44 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -131,7 +131,16 @@ module.exports = function(grunt) { }, qunit: { - dist: [ 'test/*.html' ] + dist: [ 'test/index.html' ] + }, + + blanket_qunit: { + dist: { + options: { + urls: [ 'test/index.html?coverage&gruntReport' ], + threshold: 0 + } + } }, jscs: { @@ -248,7 +257,6 @@ module.exports = function(grunt) { }, js: { files: [ 'src/**/*.js' ], - tasks: [ 'jscs:dist', 'jshint:dist', 'qunit:dist', 'concat:dist', 'uglify:dist', 'usebanner:dist', 'copy:distToDocs', 'copy:srcToDocs' ] }, helpersDocs: { @@ -292,7 +300,7 @@ module.exports = function(grunt) { grunt.registerTask('docs', [ 'dist', 'clean:docs', 'assemble', 'sass:docs', 'copy:docsAssets', 'copy:distToDocs', 'zip' ]); - grunt.registerTask('test', [ 'jshint:dist', 'qunit:dist' ]); + grunt.registerTask('test', [ 'jshint:dist', 'qunit:dist', 'blanket_qunit:dist' ]); grunt.registerTask('default', [ 'dist', 'docs', 'test' ]); diff --git a/package.json b/package.json index 995e9a4c..07d4a42f 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,11 @@ }, "devDependencies": { "assemble": "~0.4.37", + "blanket": "^1.1.7", "foundation-sites": "~5.5.2", "grunt": "~0.4.5", "grunt-banner": "^0.4.0", + "grunt-blanket-qunit": "^0.2.0", "grunt-contrib-clean": "~0.6.0", "grunt-contrib-compress": "~0.13.0", "grunt-contrib-concat": "~0.5.1", diff --git a/test/index.html b/test/index.html index b4f946a7..dc315aa7 100644 --- a/test/index.html +++ b/test/index.html @@ -10,9 +10,15 @@ + + - - + + @@ -27,4 +33,4 @@ - \ No newline at end of file +