mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
add test task, avoid attempt to run tests in unrelated html files
This commit is contained in:
parent
7f85c21386
commit
1c8fd60595
3 changed files with 7 additions and 3 deletions
|
|
@ -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' ] );
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue