chore(checkbox): remove fake viewport ruler tests (#8537)

The fake viewport ruler was unused
This commit is contained in:
Paul Gschwendtner
2017-11-20 19:56:48 +01:00
committed by Jeremy Elbourn
parent 58598c457f
commit e5bf7df625
+1 -5
View File
@@ -9,8 +9,7 @@ import {
import {FormControl, FormsModule, NgModel, ReactiveFormsModule} from '@angular/forms';
import {Component, DebugElement} from '@angular/core';
import {By} from '@angular/platform-browser';
import {ViewportRuler} from '@angular/cdk/scrolling';
import {dispatchFakeEvent, FakeViewportRuler} from '@angular/cdk/testing';
import {dispatchFakeEvent} from '@angular/cdk/testing';
import {MatCheckbox, MatCheckboxChange, MatCheckboxModule} from './index';
import {RIPPLE_FADE_IN_DURATION, RIPPLE_FADE_OUT_DURATION} from '@angular/material/core';
@@ -34,9 +33,6 @@ describe('MatCheckbox', () => {
CheckboxWithFormControl,
CheckboxWithoutLabel,
CheckboxWithTabindexAttr,
],
providers: [
{provide: ViewportRuler, useClass: FakeViewportRuler}
]
});