mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(grunt): fix up the help text for the new test commands
Closes #3421
This commit is contained in:
parent
05b41eedce
commit
953fa4cd16
2 changed files with 8 additions and 8 deletions
14
Gruntfile.js
14
Gruntfile.js
|
|
@ -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']);
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue