Skip to content

Commit

Permalink
fix(material/sort): remove deps on legacy components
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Sep 12, 2022
1 parent 07421d0 commit 4b1ecdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/material/sort/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ng_test_library(
"//src/cdk/collections",
"//src/cdk/table",
"//src/cdk/testing/private",
"//src/material/legacy-table",
"//src/material/table",
"@npm//@angular/platform-browser",
"@npm//rxjs",
],
Expand Down
8 changes: 4 additions & 4 deletions src/material/sort/sort.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {NoopAnimationsModule} from '@angular/platform-browser/animations';
import {By} from '@angular/platform-browser';
import {Observable} from 'rxjs';
import {map} from 'rxjs/operators';
import {MatLegacyTableModule} from '../legacy-table/index';
import {MatTableModule} from '@angular/material/table';
import {
MAT_SORT_DEFAULT_OPTIONS,
MatSort,
Expand All @@ -35,7 +35,7 @@ describe('MatSort', () => {

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
declarations: [
SimpleMatSortApp,
CdkTableMatSortApp,
Expand Down Expand Up @@ -507,7 +507,7 @@ describe('MatSort', () => {

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
declarations: [MatSortWithoutExplicitInputs],
providers: [
{
Expand Down Expand Up @@ -541,7 +541,7 @@ describe('MatSort', () => {

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule],
imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule],
declarations: [MatSortWithoutInputs],
providers: [
{
Expand Down

0 comments on commit 4b1ecdf

Please sign in to comment.