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