@@ -80,7 +80,7 @@ describe('IgxSimpleCombo', () => {
80
80
get : mockNgControl
81
81
} ) ;
82
82
mockSelection . get . and . returnValue ( new Set ( [ ] ) ) ;
83
- const mockIconService = new IgxIconService ( null , null , null ) ;
83
+ const mockIconService = new IgxIconService ( null , null , null , null ) ;
84
84
const platformUtil = new PlatformUtil ( 'browser' ) ;
85
85
it ( 'should properly call dropdown methods on toggle' , ( ) => {
86
86
combo = new IgxSimpleComboComponent ( elementRef , mockCdr , mockSelection as any , mockComboService ,
@@ -915,7 +915,7 @@ describe('IgxSimpleCombo', () => {
915
915
expect ( document . activeElement ) . toEqual ( addItemButton . nativeElement ) ;
916
916
} ) ) ;
917
917
918
- it ( 'should close when an item is clicked on' , fakeAsync ( ( ) => {
918
+ it ( 'should close when an item is clicked on' , ( ) => {
919
919
spyOn ( combo , 'close' ) . and . callThrough ( ) ;
920
920
combo . open ( ) ;
921
921
fixture . detectChanges ( ) ;
@@ -926,9 +926,9 @@ describe('IgxSimpleCombo', () => {
926
926
fixture . detectChanges ( ) ;
927
927
928
928
expect ( combo . close ) . toHaveBeenCalledTimes ( 1 ) ;
929
- } ) ) ;
929
+ } ) ;
930
930
931
- it ( 'should scroll to top when opened and there is no selection' , fakeAsync ( ( ) => {
931
+ it ( 'should scroll to top when opened and there is no selection' , ( ) => {
932
932
combo . deselect ( ) ;
933
933
fixture . detectChanges ( ) ;
934
934
@@ -943,7 +943,7 @@ describe('IgxSimpleCombo', () => {
943
943
944
944
expect ( combo . onClick ) . toHaveBeenCalledTimes ( 1 ) ;
945
945
expect ( ( combo as any ) . virtDir . scrollTo ) . toHaveBeenCalledWith ( 0 ) ;
946
- } ) ) ;
946
+ } ) ;
947
947
948
948
it ( 'should close the dropdown with Alt + ArrowUp' , fakeAsync ( ( ) => {
949
949
combo . open ( ) ;
@@ -961,7 +961,7 @@ describe('IgxSimpleCombo', () => {
961
961
expect ( combo . close ) . toHaveBeenCalledTimes ( 1 ) ;
962
962
} ) ) ;
963
963
964
- it ( 'should select the first filtered item with Enter' , fakeAsync ( ( ) => {
964
+ it ( 'should select the first filtered item with Enter' , ( ) => {
965
965
UIInteractions . setInputElementValue ( input , 'con' , fixture ) ;
966
966
expect ( combo . comboInput . value ) . toEqual ( 'con' ) ;
967
967
@@ -972,9 +972,9 @@ describe('IgxSimpleCombo', () => {
972
972
UIInteractions . triggerKeyDownEvtUponElem ( 'Enter' , input . nativeElement ) ;
973
973
fixture . detectChanges ( ) ;
974
974
expect ( input . nativeElement . value ) . toEqual ( 'Wisconsin' ) ;
975
- } ) ) ;
975
+ } ) ;
976
976
977
- it ( 'should clear selection when all text in input is removed by Backspace and Delete' , fakeAsync ( ( ) => {
977
+ it ( 'should clear selection when all text in input is removed by Backspace and Delete' , ( ) => {
978
978
combo . select ( 'Wisconsin' ) ;
979
979
fixture . detectChanges ( ) ;
980
980
@@ -997,7 +997,7 @@ describe('IgxSimpleCombo', () => {
997
997
UIInteractions . triggerEventHandlerKeyDown ( 'Backspace' , input ) ;
998
998
fixture . detectChanges ( ) ;
999
999
expect ( combo . selection . length ) . toEqual ( 0 ) ;
1000
- } ) ) ;
1000
+ } ) ;
1001
1001
1002
1002
it ( 'should close the dropdown (if opened) when tabbing outside of the input' , ( ) => {
1003
1003
combo . open ( ) ;
0 commit comments