Skip to content

Commit 4b1ecdf

Browse files
committed
fix(material/sort): remove deps on legacy components
1 parent 07421d0 commit 4b1ecdf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/material/sort/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ng_test_library(
5555
"//src/cdk/collections",
5656
"//src/cdk/table",
5757
"//src/cdk/testing/private",
58-
"//src/material/legacy-table",
58+
"//src/material/table",
5959
"@npm//@angular/platform-browser",
6060
"@npm//rxjs",
6161
],

src/material/sort/sort.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {NoopAnimationsModule} from '@angular/platform-browser/animations';
1212
import {By} from '@angular/platform-browser';
1313
import {Observable} from 'rxjs';
1414
import {map} from 'rxjs/operators';
15-
import {MatLegacyTableModule} from '../legacy-table/index';
15+
import {MatTableModule} from '@angular/material/table';
1616
import {
1717
MAT_SORT_DEFAULT_OPTIONS,
1818
MatSort,
@@ -35,7 +35,7 @@ describe('MatSort', () => {
3535

3636
beforeEach(waitForAsync(() => {
3737
TestBed.configureTestingModule({
38-
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
38+
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
3939
declarations: [
4040
SimpleMatSortApp,
4141
CdkTableMatSortApp,
@@ -507,7 +507,7 @@ describe('MatSort', () => {
507507

508508
beforeEach(waitForAsync(() => {
509509
TestBed.configureTestingModule({
510-
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
510+
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
511511
declarations: [MatSortWithoutExplicitInputs],
512512
providers: [
513513
{
@@ -541,7 +541,7 @@ describe('MatSort', () => {
541541

542542
beforeEach(waitForAsync(() => {
543543
TestBed.configureTestingModule({
544-
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
544+
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
545545
declarations: [MatSortWithoutInputs],
546546
providers: [
547547
{

0 commit comments

Comments
 (0)