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