From 502b26ecf02839bc24f9e47d08d5439aee24ad9c Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 22 Aug 2013 20:31:52 -0400 Subject: [PATCH] run unit tests as part of grunt build and ci --- Gruntfile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 79e87b3..5daa4e5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -119,7 +119,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks( 'grunt-zip' ); // Default task - grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify' ] ); + grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] ); // Theme task grunt.registerTask( 'themes', [ 'sass' ] ); diff --git a/package.json b/package.json index 6326570..2c7036e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "homepage": "http://lab.hakim.se/reveal-js", "subdomain": "revealjs", "scripts": { - "test": "grunt jshint", + "test": "grunt jshint qunit", "start": "" }, "author": {