mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-29 17:30:09 +02:00
add test task, avoid attempt to run tests in unrelated html files
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = function(grunt) {
|
||||
|
||||
// Tests will be added soon
|
||||
qunit: {
|
||||
files: [ 'test/**/*.html' ]
|
||||
files: [ 'test/*.html' ]
|
||||
},
|
||||
|
||||
uglify: {
|
||||
@@ -130,4 +130,7 @@ module.exports = function(grunt) {
|
||||
// Serve presentation locally
|
||||
grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
|
||||
|
||||
// Run tests
|
||||
grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user