fix test suite in gruntfile

This commit is contained in:
Tyler Kellen 2012-11-19 16:25:04 -05:00
parent cd8937fbf4
commit 5db6cf24ec

View File

@ -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']);
};