@@ -1124,6 +1124,7 @@ describe('Combo', () => {
1124
1124
// Rendering
1125
1125
it ( 'All appropriate classes should be applied on combo initialization' , ( ) => {
1126
1126
const defaultComboWidth = '250px' ;
1127
+ const defaultComboDDWidth = '100%' ;
1127
1128
const fix = TestBed . createComponent ( IgxComboScrollTestComponent ) ;
1128
1129
fix . detectChanges ( ) ;
1129
1130
@@ -1187,7 +1188,7 @@ describe('Combo', () => {
1187
1188
1188
1189
const dropDownWrapper = comboElement . children [ 1 ] ;
1189
1190
expect ( dropDownWrapper . classList . contains ( CSS_CLASS_COMBO_DROPDOWN ) ) . toBeTruthy ( ) ;
1190
- expect ( dropDownWrapper . attributes . getNamedItem ( 'ng-reflect-width' ) . nodeValue ) . toEqual ( defaultComboWidth ) ;
1191
+ expect ( dropDownWrapper . attributes . getNamedItem ( 'ng-reflect-width' ) . nodeValue ) . toEqual ( defaultComboDDWidth ) ;
1191
1192
expect ( dropDownWrapper . childElementCount ) . toEqual ( 1 ) ;
1192
1193
1193
1194
const dropDownElement = dropDownWrapper . children [ 0 ] ;
@@ -1197,7 +1198,7 @@ describe('Combo', () => {
1197
1198
const dropDownList = dropDownElement . children [ 0 ] ;
1198
1199
expect ( dropDownList . classList . contains ( CSS_CLASS_DROPDOWNLIST ) ) . toBeTruthy ( ) ;
1199
1200
expect ( dropDownList . classList . contains ( 'igx-toggle--hidden' ) ) . toBeTruthy ( ) ;
1200
- expect ( dropDownList . style . width ) . toEqual ( defaultComboWidth ) ;
1201
+ expect ( dropDownList . style . width ) . toEqual ( defaultComboDDWidth ) ;
1201
1202
expect ( dropDownList . childElementCount ) . toEqual ( 0 ) ;
1202
1203
} ) ;
1203
1204
it ( 'Should properly render grouped items' , fakeAsync ( ( ) => {
0 commit comments