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