Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore(grunt): fix up the help text for the new test commands
Browse files Browse the repository at this point in the history
Closes #3421
  • Loading branch information
matsko authored and IgorMinar committed Aug 9, 2013
1 parent 05b41ee commit 953fa4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down
2 changes: 1 addition & 1 deletion lib/grunt/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
});

Expand Down

0 comments on commit 953fa4c

Please sign in to comment.