Skip to content

Commit 459136f

Browse files
committed
test(material/radio): clean up unnecessary imports in tests
Removes imports from tests that aren't necessary anymore, because we're using standalone.
1 parent 195260b commit 459136f

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

src/material/radio/radio.spec.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,6 @@ import {
1212
} from './index';
1313

1414
describe('MatRadio', () => {
15-
beforeEach(waitForAsync(() => {
16-
TestBed.configureTestingModule({
17-
imports: [
18-
MatRadioModule,
19-
FormsModule,
20-
ReactiveFormsModule,
21-
DisableableRadioButton,
22-
FocusableRadioButton,
23-
RadiosInsideRadioGroup,
24-
RadioGroupWithNgModel,
25-
RadioGroupWithFormControl,
26-
StandaloneRadioButtons,
27-
InterleavedRadioGroup,
28-
TranscludingWrapper,
29-
RadioButtonWithPredefinedTabindex,
30-
RadioButtonWithPredefinedAriaAttributes,
31-
RadiosInsidePreCheckedRadioGroup,
32-
PreselectedRadioWithStaticValueAndNgIf,
33-
],
34-
});
35-
}));
36-
3715
describe('inside of a group', () => {
3816
let fixture: ComponentFixture<RadiosInsideRadioGroup>;
3917
let groupDebugElement: DebugElement;
@@ -1034,7 +1012,6 @@ describe('MatRadioDefaultOverrides', () => {
10341012
describe('when MAT_RADIO_DEFAULT_OPTIONS overridden', () => {
10351013
beforeEach(waitForAsync(() => {
10361014
TestBed.configureTestingModule({
1037-
imports: [MatRadioModule, FormsModule, DefaultRadioButton, RadioButtonWithColorBinding],
10381015
providers: [
10391016
{
10401017
provide: MAT_RADIO_DEFAULT_OPTIONS,

src/material/radio/testing/radio-harness.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ describe('radio harness', () => {
1111
let loader: HarnessLoader;
1212

1313
beforeEach(() => {
14-
TestBed.configureTestingModule({
15-
imports: [MatRadioModule, ReactiveFormsModule, MultipleRadioButtonsHarnessTest],
16-
});
17-
1814
fixture = TestBed.createComponent(MultipleRadioButtonsHarnessTest);
1915
fixture.detectChanges();
2016
loader = TestbedHarnessEnvironment.loader(fixture);

0 commit comments

Comments
 (0)