File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/@angular/cli/commands Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import { CliConfig } from '../models/config';
44import { oneLine } from 'common-tags' ;
55
66const config = CliConfig . fromProject ( ) || CliConfig . fromGlobal ( ) ;
7- const pollDefault = config . config . defaults && config . config . defaults . poll ;
7+ const testConfigDefaults = config . getPaths ( 'defaults.build' , [
8+ 'progress' , 'poll'
9+ ] ) ;
810
911export interface TestOptions {
1012 watch ?: boolean ;
@@ -60,7 +62,7 @@ const TestCommand = Command.extend({
6062 {
6163 name : 'progress' ,
6264 type : Boolean ,
63- default : true ,
65+ default : testConfigDefaults [ 'progress' ] ,
6466 description : 'Log progress to the console while in progress.'
6567 } ,
6668 {
@@ -98,7 +100,7 @@ const TestCommand = Command.extend({
98100 {
99101 name : 'poll' ,
100102 type : Number ,
101- default : pollDefault ,
103+ default : testConfigDefaults [ 'poll' ] ,
102104 description : 'Enable and define the file watching poll time period (milliseconds).'
103105 } ,
104106 {
You can’t perform that action at this time.
0 commit comments