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