mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -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) {
|
grunt.registerTask('test', function (subTask) {
|
||||||
if (subTask) grunt.fail.fatal(`invalid task "test:${subTask}"`);
|
if (subTask) grunt.fail.fatal(`invalid task "test:${subTask}"`);
|
||||||
|
|
||||||
if (grunt.option('quick')) {
|
|
||||||
grunt.task.run('test:quick');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
grunt.task.run(_.compact([
|
grunt.task.run(_.compact([
|
||||||
'eslint:source',
|
!grunt.option('quick') && 'eslint:source',
|
||||||
'test:server',
|
'test:quick'
|
||||||
'test:browser'
|
|
||||||
]));
|
]));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue