File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1172,9 +1172,6 @@ describe('MdSelect', () => {
1172
1172
} ) ;
1173
1173
1174
1174
it ( 'should adjust position of centered option if there is little space above' , async ( ( ) => {
1175
- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1176
- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1177
-
1178
1175
const selectMenuHeight = 256 ;
1179
1176
const selectMenuViewportPadding = 8 ;
1180
1177
const selectItemHeight = 48 ;
@@ -1228,9 +1225,6 @@ describe('MdSelect', () => {
1228
1225
} ) ) ;
1229
1226
1230
1227
it ( 'should adjust position of centered option if there is little space below' , async ( ( ) => {
1231
- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1232
- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1233
-
1234
1228
const selectMenuHeight = 256 ;
1235
1229
const selectMenuViewportPadding = 8 ;
1236
1230
const selectItemHeight = 48 ;
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ import {
42
42
ConnectedOverlayDirective ,
43
43
Overlay ,
44
44
RepositionScrollStrategy ,
45
+ // This import is only used to define a generic type. The current TypeScript version incorrectly
46
+ // considers such imports as unused (https://github.com/Microsoft/TypeScript/issues/14953)
47
+ // tslint:disable-next-line:no-unused-variable
45
48
ScrollStrategy ,
46
49
ViewportRuler
47
50
} from '@angular/cdk/overlay' ;
You can’t perform that action at this time.
0 commit comments