File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,41 @@ const completionSpec: Fig.Spec = {
125125 } ,
126126 ] ,
127127 } ,
128+ {
129+ name : "test" ,
130+ description : "Run tests" ,
131+ options : [
132+ {
133+ name : "--watch" ,
134+ description : "Watch for file changes" ,
135+ args : {
136+ name : "boolean" ,
137+ suggestions : [ "true" , "false" ] ,
138+ isOptional : true ,
139+ } ,
140+ } ,
141+ {
142+ name : "--code-coverage" ,
143+ description : "Generate code coverage report" ,
144+ } ,
145+ {
146+ name : "--browsers" ,
147+ description : "Browsers to test against" ,
148+ args : {
149+ name : "browser" ,
150+ suggestions : [ "Chrome" , "ChromeHeadless" ] ,
151+ } ,
152+ } ,
153+ {
154+ name : "--include" ,
155+ description : "Path or files of the tests" ,
156+ args : {
157+ name : "filepaths" ,
158+ template : "filepaths" ,
159+ } ,
160+ } ,
161+ ] ,
162+ } ,
128163 {
129164 name : "version" ,
130165 description : "View your Angular CLI version (update for Angular 14+)" ,
You can’t perform that action at this time.
0 commit comments