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