chore(grunt): add jshint to the test task

It is very easy to let jshint failures slip into the master build if
the jshint task is not part of the standard local grunt tasks.
This commit is contained in:
Pete Bacon Darwin 2013-10-24 22:48:22 +01:00
parent e8a3569be6
commit 3e79c9b098

View file

@ -280,7 +280,7 @@ module.exports = function(grunt) {
//alias tasks
grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']);
grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['jshint', 'package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']);
grunt.registerTask('test:jqlite', 'Run the unit tests with Karma' , ['tests:jqlite']);
grunt.registerTask('test:jquery', 'Run the jQuery unit tests with Karma', ['tests:jquery']);
grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']);