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