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