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