import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { UserTableComponent } from './user-table.component'; describe('UserTableComponent', () => { let component: UserTableComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [UserTableComponent], }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(UserTableComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });