import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MatPaginatorModule } from '@angular/material/paginator'; import { MatSortModule } from '@angular/material/sort'; import { MatTableModule } from '@angular/material/table'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { MembersTableComponent } from './members-table.component'; describe('MembersTableComponent', () => { let component: MembersTableComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [MembersTableComponent], imports: [ NoopAnimationsModule, MatPaginatorModule, MatSortModule, MatTableModule, ], }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(MembersTableComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should compile', () => { expect(component).toBeTruthy(); }); });