chore(grunt): fix up the help text for the new test commands

Closes #3421
This commit is contained in:
Matias Niemelä 2013-08-04 11:40:24 -04:00 committed by Igor Minar
parent 05b41eedce
commit 953fa4cd16
2 changed files with 8 additions and 8 deletions

View file

@ -230,13 +230,13 @@ module.exports = function(grunt) {
//alias tasks
grunt.registerTask('test', ['package','test:unit', 'tests:docs', 'test:e2e']);
grunt.registerTask('test:jqlite', ['tests:jqlite']);
grunt.registerTask('test:jquery', ['tests:jquery']);
grunt.registerTask('test:modules', ['tests:modules']);
grunt.registerTask('test:docs', ['package', 'tests:docs']);
grunt.registerTask('test:unit', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
grunt.registerTask('test:e2e', ['connect:testserver', 'tests:end2end']);
grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['package','test:unit', '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']);
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
grunt.registerTask('test:e2e', 'Run the end to end tests with Karma and keep a test server running in the background', ['connect:testserver', 'tests:end2end']);
grunt.registerTask('test:docgen', ['jasmine-node']);
grunt.registerTask('minify', ['bower','clean', 'build', 'minall']);

View file

@ -52,7 +52,7 @@ module.exports = function(grunt) {
});
grunt.registerMultiTask('tests', 'Run the unit tests with Karma', function(){
grunt.registerMultiTask('tests', '**Use `grunt test` instead**', function(){
util.startKarma.call(util, this.data, true, this.async());
});