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

Commit 953fa4c

Browse files
matskoIgorMinar
authored andcommitted
chore(grunt): fix up the help text for the new test commands
Closes #3421
1 parent 05b41ee commit 953fa4c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Gruntfile.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ module.exports = function(grunt) {
230230

231231

232232
//alias tasks
233-
grunt.registerTask('test', ['package','test:unit', 'tests:docs', 'test:e2e']);
234-
grunt.registerTask('test:jqlite', ['tests:jqlite']);
235-
grunt.registerTask('test:jquery', ['tests:jquery']);
236-
grunt.registerTask('test:modules', ['tests:modules']);
237-
grunt.registerTask('test:docs', ['package', 'tests:docs']);
238-
grunt.registerTask('test:unit', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
239-
grunt.registerTask('test:e2e', ['connect:testserver', 'tests:end2end']);
233+
grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['package','test:unit', 'tests:docs', 'test:e2e']);
234+
grunt.registerTask('test:jqlite', 'Run the unit tests with Karma' , ['tests:jqlite']);
235+
grunt.registerTask('test:jquery', 'Run the jQuery unit tests with Karma', ['tests:jquery']);
236+
grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']);
237+
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
238+
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
239+
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']);
240240
grunt.registerTask('test:docgen', ['jasmine-node']);
241241

242242
grunt.registerTask('minify', ['bower','clean', 'build', 'minall']);

lib/grunt/plugins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = function(grunt) {
5252
});
5353

5454

55-
grunt.registerMultiTask('tests', 'Run the unit tests with Karma', function(){
55+
grunt.registerMultiTask('tests', '**Use `grunt test` instead**', function(){
5656
util.startKarma.call(util, this.data, true, this.async());
5757
});
5858

0 commit comments

Comments
 (0)