File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,12 @@ if (all) {
74
74
// Exit if no component has been specified.
75
75
if ( ! components . length ) {
76
76
console . error ( chalk . red (
77
- 'No component specified. Specify a component name, or pass a ' +
78
- 'path to the component directory.' ) ) ;
77
+ 'No component specified. Please either specify individual components, or pass the "--all" ' +
78
+ 'flag in order to run tests for all components.' ) ) ;
79
+ console . info ( chalk . yellow ( 'Below are a few examples of how the script can be run:' ) ) ;
80
+ console . info ( chalk . yellow ( ` - yarn test --all` ) ) ;
81
+ console . info ( chalk . yellow ( ` - yarn test src/cdk/button src/material/stepper` ) ) ;
82
+ console . info ( chalk . yellow ( ` - yarn test button toolbar` ) ) ;
79
83
process . exit ( 1 ) ;
80
84
}
81
85
You can’t perform that action at this time.
0 commit comments