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