Skip to content

Commit 502b26e

Browse files
committed
run unit tests as part of grunt build and ci
1 parent b3db697 commit 502b26e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ module.exports = function(grunt) {
119119
grunt.loadNpmTasks( 'grunt-zip' );
120120

121121
// Default task
122-
grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify' ] );
122+
grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
123123

124124
// Theme task
125125
grunt.registerTask( 'themes', [ 'sass' ] );

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"homepage": "http://lab.hakim.se/reveal-js",
66
"subdomain": "revealjs",
77
"scripts": {
8-
"test": "grunt jshint",
8+
"test": "grunt jshint qunit",
99
"start": ""
1010
},
1111
"author": {

0 commit comments

Comments
 (0)