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