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