import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { BomPartStatusComponent } from './bom-part-status.component'; describe('BomPartStatusComponent', () => { let component: BomPartStatusComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA], declarations: [BomPartStatusComponent] }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(BomPartStatusComponent); component = fixture.componentInstance; component.row = { item: { alternates: [] } } fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });