@@ -175,7 +175,7 @@ describe('MDC-based MatAutocomplete', () => {
175
175
. toEqual ( '' ) ;
176
176
} ) ) ;
177
177
178
- it ( 'should close the panel when the user clicks away via auxilliary button' , waitForAsync ( async ( ) => {
178
+ it ( 'should close the panel when the user clicks away via auxiliary button' , waitForAsync ( async ( ) => {
179
179
dispatchFakeEvent ( input , 'focusin' ) ;
180
180
fixture . detectChanges ( ) ;
181
181
await new Promise ( r => setTimeout ( r ) ) ;
@@ -1609,7 +1609,7 @@ describe('MDC-based MatAutocomplete', () => {
1609
1609
fixture . detectChanges ( ) ;
1610
1610
1611
1611
expect ( event . defaultPrevented )
1612
- . withContext ( `Expected autocompete not to block ${ name } key` )
1612
+ . withContext ( `Expected autocomplete not to block ${ name } key` )
1613
1613
. toBe ( false ) ;
1614
1614
} ) ;
1615
1615
} ) ;
@@ -3850,7 +3850,7 @@ describe('MDC-based MatAutocomplete', () => {
3850
3850
dispatchFakeEvent ( document . querySelector ( 'mat-option' ) ! , 'click' ) ;
3851
3851
fixture . detectChanges ( ) ;
3852
3852
3853
- const selectedOption = document . querySelector ( 'mat-option[aria-selected="true"' ) ;
3853
+ const selectedOption = document . querySelector ( 'mat-option[aria-selected="true"] ' ) ;
3854
3854
expect ( selectedOption ) . withContext ( 'Expected an option to be selected.' ) . not . toBeNull ( ) ;
3855
3855
expect ( selectedOption ?. querySelector ( '.mat-pseudo-checkbox.mat-pseudo-checkbox-minimal' ) )
3856
3856
. withContext (
@@ -3876,7 +3876,7 @@ describe('MDC-based MatAutocomplete', () => {
3876
3876
dispatchFakeEvent ( document . querySelector ( 'mat-option' ) ! , 'click' ) ;
3877
3877
fixture . detectChanges ( ) ;
3878
3878
3879
- const selectedOption = document . querySelector ( 'mat-option[aria-selected="true"' ) ;
3879
+ const selectedOption = document . querySelector ( 'mat-option[aria-selected="true"] ' ) ;
3880
3880
expect ( selectedOption ) . withContext ( 'Expected an option to be selected.' ) . not . toBeNull ( ) ;
3881
3881
expect ( document . querySelectorAll ( '.mat-pseudo-checkbox' ) . length ) . toBe ( 0 ) ;
3882
3882
} ) ;
@@ -4212,7 +4212,7 @@ class AutocompleteWithoutPanel {
4212
4212
4213
4213
<mat-autocomplete #auto="matAutocomplete">
4214
4214
@for (group of stateGroups; track group) {
4215
- <mat-optgroup [label]="group.label ">
4215
+ <mat-optgroup [label]="group.title ">
4216
4216
@for (state of group.states; track state) {
4217
4217
<mat-option [value]="state">
4218
4218
<span>{{ state }}</span>
@@ -4251,7 +4251,7 @@ class AutocompleteWithGroups {
4251
4251
<mat-autocomplete #auto="matAutocomplete">
4252
4252
@if (true) {
4253
4253
@for (group of stateGroups; track group) {
4254
- <mat-optgroup [label]="group.label ">
4254
+ <mat-optgroup [label]="group.title ">
4255
4255
@for (state of group.states; track state) {
4256
4256
<mat-option [value]="state">
4257
4257
<span>{{ state }}</span>
0 commit comments