mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[grunt/test] just use test:quick rather than relisting it
This commit is contained in:
parent
3cf56058e8
commit
349ba49b95
1 changed files with 2 additions and 8 deletions
|
@ -16,15 +16,9 @@ module.exports = function (grunt) {
|
|||
grunt.registerTask('test', function (subTask) {
|
||||
if (subTask) grunt.fail.fatal(`invalid task "test:${subTask}"`);
|
||||
|
||||
if (grunt.option('quick')) {
|
||||
grunt.task.run('test:quick');
|
||||
return;
|
||||
}
|
||||
|
||||
grunt.task.run(_.compact([
|
||||
'eslint:source',
|
||||
'test:server',
|
||||
'test:browser'
|
||||
!grunt.option('quick') && 'eslint:source',
|
||||
'test:quick'
|
||||
]));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue