File tree 2 files changed +3
-6
lines changed 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1164,9 +1164,6 @@ describe('MdSelect', () => {
1164
1164
} ) ;
1165
1165
1166
1166
it ( 'should adjust position of centered option if there is little space above' , async ( ( ) => {
1167
- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1168
- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1169
-
1170
1167
const selectMenuHeight = 256 ;
1171
1168
const selectMenuViewportPadding = 8 ;
1172
1169
const selectItemHeight = 48 ;
@@ -1220,9 +1217,6 @@ describe('MdSelect', () => {
1220
1217
} ) ) ;
1221
1218
1222
1219
it ( 'should adjust position of centered option if there is little space below' , async ( ( ) => {
1223
- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1224
- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1225
-
1226
1220
const selectMenuHeight = 256 ;
1227
1221
const selectMenuViewportPadding = 8 ;
1228
1222
const selectItemHeight = 48 ;
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ import {
41
41
ConnectedOverlayDirective ,
42
42
Overlay ,
43
43
RepositionScrollStrategy ,
44
+ // This import is only used to define a generic type. The current TypeScript version incorrectly
45
+ // considers such imports as unused (https://github.com/Microsoft/TypeScript/issues/14953)
46
+ // tslint:disable-next-line:no-unused-variable
44
47
ScrollStrategy ,
45
48
ViewportRuler
46
49
} from '@angular/cdk/overlay' ;
You can’t perform that action at this time.
0 commit comments