diff --git a/Gruntfile.js b/Gruntfile.js index 2dce6de..7f67727 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -74,9 +74,9 @@ module.exports = function(grunt) { // Whenever the "test" task is run, first clean the "tmp" dir, then run this // plugin's task(s), then test the result. - grunt.registerTask('test', ['nodeunit']); + grunt.registerTask('test', ['clean', 'jst', 'nodeunit']); // By default, lint and run all tests. - grunt.registerTask('default', ['jst', 'test', 'build-contrib']); + grunt.registerTask('default', ['jshint', 'test', 'build-contrib']); -}; \ No newline at end of file +};