Skip to content

Commit deca554

Browse files
committed
test(material/sort): clean up unnecessary imports in tests
Removes imports from tests that aren't necessary anymore, because we're using standalone.
1 parent 7cdbdcb commit deca554

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/material/sort/sort.spec.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,6 @@ describe('MatSort', () => {
2727
let fixture: ComponentFixture<SimpleMatSortApp>;
2828
let component: SimpleMatSortApp;
2929

30-
beforeEach(waitForAsync(() => {
31-
TestBed.configureTestingModule({
32-
imports: [
33-
MatSortModule,
34-
MatTableModule,
35-
CdkTableModule,
36-
SimpleMatSortApp,
37-
CdkTableMatSortApp,
38-
MatTableMatSortApp,
39-
MatSortHeaderMissingMatSortApp,
40-
MatSortDuplicateMatSortableIdsApp,
41-
MatSortableMissingIdApp,
42-
MatSortableInvalidDirection,
43-
MatSortableInvalidDirection,
44-
MatSortWithArrowPosition,
45-
],
46-
});
47-
}));
48-
4930
beforeEach(() => {
5031
fixture = TestBed.createComponent(SimpleMatSortApp);
5132
component = fixture.componentInstance;
@@ -357,7 +338,6 @@ describe('MatSort', () => {
357338

358339
beforeEach(waitForAsync(() => {
359340
TestBed.configureTestingModule({
360-
imports: [MatSortModule, MatTableModule, CdkTableModule, MatSortWithoutExplicitInputs],
361341
providers: [
362342
{
363343
provide: MAT_SORT_DEFAULT_OPTIONS,
@@ -390,7 +370,6 @@ describe('MatSort', () => {
390370

391371
beforeEach(waitForAsync(() => {
392372
TestBed.configureTestingModule({
393-
imports: [MatSortModule, MatTableModule, CdkTableModule, MatSortWithoutInputs],
394373
providers: [
395374
{
396375
provide: MAT_SORT_DEFAULT_OPTIONS,

0 commit comments

Comments
 (0)