run unit tests as part of grunt build and ci
This commit is contained in:
		@@ -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' ] );
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
  "homepage": "http://lab.hakim.se/reveal-js",
 | 
			
		||||
  "subdomain": "revealjs",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "grunt jshint",
 | 
			
		||||
    "test": "grunt jshint qunit",
 | 
			
		||||
    "start": ""
 | 
			
		||||
  },
 | 
			
		||||
  "author": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user