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