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