[grunt/test] just use test:quick rather than relisting it

This commit is contained in:
spalger 2015-08-19 13:13:16 -07:00
parent 3cf56058e8
commit 349ba49b95

View file

@ -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'
]));
});