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,40 @@ 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+ } ,
139+ } ,
140+ {
141+ name : "--code-coverage" ,
142+ description : "Generate code coverage report" ,
143+ } ,
144+ {
145+ name : "--browsers" ,
146+ description : "Browsers to test against" ,
147+ args : {
148+ name : "browser" ,
149+ suggestions : [ "Chrome" , "ChromeHeadless" ] ,
150+ } ,
151+ } ,
152+ {
153+ name : "--include" ,
154+ description : "Path or files of the tests" ,
155+ args : {
156+ name : "filepaths" ,
157+ template : "filepaths" ,
158+ } ,
159+ } ,
160+ ] ,
161+ } ,
128162 {
129163 name : "version" ,
130164 description : "View your Angular CLI version (update for Angular 14+)" ,
You can’t perform that action at this time.
0 commit comments