mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(checkbox): remove fake viewport ruler tests (#8537)
The fake viewport ruler was unused
This commit is contained in:
committed by
Jeremy Elbourn
parent
58598c457f
commit
e5bf7df625
@@ -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}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user