Skip to content

Commit e5bf7df

Browse files
devversionjelbourn
authored andcommitted
chore(checkbox): remove fake viewport ruler tests (#8537)
The fake viewport ruler was unused
1 parent 58598c4 commit e5bf7df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib/checkbox/checkbox.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import {
99
import {FormControl, FormsModule, NgModel, ReactiveFormsModule} from '@angular/forms';
1010
import {Component, DebugElement} from '@angular/core';
1111
import {By} from '@angular/platform-browser';
12-
import {ViewportRuler} from '@angular/cdk/scrolling';
13-
import {dispatchFakeEvent, FakeViewportRuler} from '@angular/cdk/testing';
12+
import {dispatchFakeEvent} from '@angular/cdk/testing';
1413
import {MatCheckbox, MatCheckboxChange, MatCheckboxModule} from './index';
1514
import {RIPPLE_FADE_IN_DURATION, RIPPLE_FADE_OUT_DURATION} from '@angular/material/core';
1615

@@ -34,9 +33,6 @@ describe('MatCheckbox', () => {
3433
CheckboxWithFormControl,
3534
CheckboxWithoutLabel,
3635
CheckboxWithTabindexAttr,
37-
],
38-
providers: [
39-
{provide: ViewportRuler, useClass: FakeViewportRuler}
4036
]
4137
});
4238

0 commit comments

Comments
 (0)