File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,34 @@ test(
154154 } ,
155155)
156156
157+ test (
158+ 'Angular 21' ,
159+ {
160+ skip : ! satisfies ( versions . node , '>=20.19' ) ,
161+ } ,
162+ async ( ) => {
163+ const { severityCode, success } = await build ( {
164+ repositoryRoot : fileURLToPath ( new URL ( 'fixtures/angular-21' , import . meta. url ) ) ,
165+ } )
166+
167+ assert . deepEqual ( severityCode , 0 )
168+ assert . deepEqual ( success , true )
169+ } ,
170+ )
171+
157172describe ( 'Angular version validation' , ( ) => {
173+ test (
174+ 'checks version for angular 21' ,
175+ {
176+ skip : ! satisfies ( versions . node , '>=20.19' ) ,
177+ } ,
178+ async ( ) => {
179+ const result = validateAngularVersion (
180+ await getAngularVersion ( fileURLToPath ( new URL ( 'fixtures/angular-21' , import . meta. url ) ) ) ,
181+ )
182+ assert . strictEqual ( result , true )
183+ } ,
184+ )
158185 test (
159186 'checks version for angular 20' ,
160187 {
You can’t perform that action at this time.
0 commit comments